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]

Re: shriveling libgcj


Adam Megacz wrote:

>Tom Tromey <tromey@redhat.com> writes:
>
>>I believe the biggest wins in terms of shrinking executable size
>>would come from not from disabling particular files or even Java
>>packages but from implementing "section GC".  This is what I
>>concluded after spending a few days looking into the size issue a
>>few months ago.
>>
>
>"Section GC"? I'm fairly familiar with garbage collectors, but I've
>never heard of this. Could you elaborate?
>

I think he means "vtable GC". Its a linker feature which can identify 
virtual methods that can never be called and omit them from a static 
binary. Needs some support from the compiler, though, and last time I 
heard it wasn't working for C++ either.

regards

Bryce.



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