Patch: _Jv_BuildGCDescr() (fix -findirect-dispatch)

Bryce McKinlay bryce@mckinlay.net.nz
Mon Sep 29 10:03:00 GMT 2003


_Jv_BuildGCDescr was generating backwards mark descriptors (first word 
of object should be in most significant bit of descriptor). Also it 
wasn't taking into account the vtable pointer and sync_info fields, 
which should also be marked. This was causing major breakage for code 
compiled with -findirect-dispatch.

I'm checking in this fix.

Regards

Bryce.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gc-descr.patch.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030929/82eead77/attachment.txt>


More information about the Java-patches mailing list