gcj executable size reduction?

Boris Kolar boris.kolar@globera.com
Fri Apr 16 11:28:00 GMT 2004


> 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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /