This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcj executable size reduction?


> I've also used jikes in the past, to compile java.lang.Object and let it
> drag in all the dependencies automatically. It mostly works, as far as I
> recall. It's a rather quick way to figure out the 'resident size' of
> your class library.

Wouldn't that also include "private" dependancies (dependancies in
private methods,...)?

I think it wouldn't be that difficult to use reflection to determine
public+protected dependancies of an object. These "public"
dependancies can't be removed unless you are willing to sacrifice
compliance with standards. But I guess removing private dependancies
would help a lot.

-
Boris Kolar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]