Patch: -findirect-classes: Mark class next_or_version field

Bryce McKinlay mckinlay@redhat.com
Thu Jul 6 18:24:00 GMT 2006


When a class object is created at runtime, eg with -findirect-classes, 
but loaded by the bootstrap classloader, the class can be prematurely 
collected in the case where there is a hashtable collision in the 
bootstrap classloader's loaded_classes table. The solution is to mark 
the next_or_version field, which is used as a hashtable chain.

I'm checking this in to trunk.

Bryce

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjava-bootstrap-class-mark.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20060706/0eb241f2/attachment.bin>


More information about the Java-patches mailing list