GCJ 3.4.3 and 3.3 classloading problem

Andrew Haley aph@redhat.com
Fri Sep 11 17:29:00 GMT 2009

Craig Vanderborgh wrote:
>> Are you absolutely sure that you're marking instances of class Class
>> correctly?  An error would there cause exactly this behaviour.
> No I am not sure.  What would be the easiest way to look for this
> (where, how to look).  This is what I had been thinking also, because
> when we do NO classloading (in a different, very large gcj application
> built using the same libgcj) there is NO PROBLEM WHATSOEVER - that app
> is completely reliable.

This is a real smoking gun, then.  You need a perfect match between the
fields of Class in libjava/boehm.cc, libjava/java/lang/Class.h, and

Your best bet is to look for any changes between gcj 3.3 and 3.4.3 in
this area.


More information about the Java mailing list