This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: shriveling libgcj
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: shriveling libgcj
- From: Tom Tromey <tromey at redhat dot com>
- Date: 10 Nov 2001 08:52:36 -0700
- Cc: Adam Megacz <gcj at lists dot megacz dot com>, java at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10111092244300.21304-100000@mars.deadcafe.org>
- Reply-To: tromey at redhat dot com
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
>> Oh -- does libgcj use jni internally? I thought it was all CNI.
Jeff> Yes, though the JNI code is closely intertwined with reflection.
Jeff> Last I tried that, I had to stub out a few calls. I don't
Jeff> remember exactly which they were.
I thought JNI called reflection but not vice versa.
Jeff> (I though we had a --disable-jni configure option, or had I
Jeff> imagined it?)
Nope, but if someone wants to add it that would be fine.
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.
Tom