Patch: Java: Fix missed GGC root registration

Bryce McKinlay mckinlay@redhat.com
Thu May 27 00:14:00 GMT 2004


The struct binding_level in java/decl.c lacked ggc type/root 
registration markers. This resulted in occasional tree corruption bugs 
when compiling bytecode using the gcj-abi branch because the 
current_binding_level->stmts could be freed by the GC when compiling 
some class files.

This patch adds the appropriate markers and roots registration.

OK for mainline and 3.4 branch?

Bryce

-------------- next part --------------
A non-text attachment was scrubbed...
Name: java-ggc-decl.patch
Type: text/x-patch
Size: 2536 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040527/735e5fa2/attachment.bin>


More information about the Java-patches mailing list