I can make your gcj-compiled binaries much smaller.
Tom Tromey
tromey@redhat.com
Wed Jan 15 18:41:00 GMT 2003
>>>>> "Brian" == Brian Jones <cbj@gnu.org> writes:
Brian> Should this then be a preferred method for obtaining static
Brian> references to classes within the core library or is it a bad
Brian> engineering practice?
I think it depends on the particular case.
Brian> I think it is okay to make changes such as I did as long as it
Brian> does not break other JVMs; but does this break gcj/static
Brian> linking? Patch attached.
This patch didn't change anything since this part of libgcj has an
intentional divergence from Classpath -- it uses a native method to
find the caller. There aren't many divergences like this one. My
current plan is to mark them in the source with something like "GCJ
LOCAL" (with some rationale) so that they show up clearly in the
classpath/libgcj diffs.
Brian> Btw, my paperwork should be arriving/accepted by the FSF for
Brian> GCC soon. My goal is to help keep GCJ/Classpath in sync.
Excellent news!
Tom
More information about the Java
mailing list