This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: _Jv_BuildGCDescr() (fix -findirect-dispatch)
- From: Andrew Haley <aph at redhat dot com>
- To: Bryce McKinlay <bryce at mckinlay dot net dot nz>
- Cc: java-patches at gcc dot gnu dot org
- Date: Mon, 29 Sep 2003 17:14:21 +0100
- Subject: Patch: _Jv_BuildGCDescr() (fix -findirect-dispatch)
- References: <B208D331-F24D-11D7-BE30-003065F97F7C@mckinlay.net.nz>
Bryce McKinlay writes:
> _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.
Hell's teeth! You found this at the *exact same time* that I did!
Oh well.
Andrew.