This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: FYI: Linker & Verifier fixes (really GC mark procedures)
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: "Boehm, Hans" <hans dot boehm at hp dot com>, "Bryce McKinlay" <mckinlay at redhat dot com>, "Robert Schuster" <theBohemian at gmx dot net>, <java-patches at gcc dot gnu dot org>
- Date: 01 Feb 2006 12:39:23 -0700
- Subject: Re: FYI: Linker & Verifier fixes (really GC mark procedures)
- References: <65953E8166311641A685BDF71D8658266C1BC4@cacexc12.americas.cpqcorp.net> <17377.429.589338.838921@zapata.pink>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
Andrew> Indeed. I have a patch in the pipeline that causes all objects of
Andrew> class Class to be properly allocated rather than statically allocated
Andrew> by the linker. In turn, this has the potential to make _Jv_MarkObj
Andrew> eventually go away.
I did a little work on the gcjx branch in this area. But it has
never been tested. Anyway the idea was that the compiler could emit
real mark descriptors for Class, by special-casing it a bit in
boehm.c.
With your work we could just defer this to runtime like we do for
interpreted classes. The goal would be to remove all the
Class-specific code from _Jv_MarkObj.
Tom