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


>>>>> "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


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