This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: question about -fno-optimize-static-class-initialization
- From: "Boehm, Hans" <hans_boehm at hp dot com>
- To: "'Per Bothner'" <per at bothner dot com>, Alexandre Petit-Bianco <apbianco at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 30 Nov 2001 16:26:20 -0800
- Subject: RE: question about -fno-optimize-static-class-initialization
How easy is it to determine whether a call to _Jv_AllocObject may have to
initialize the class? I guess that's a different issue. But it's the last
major problem that needs to be solved if want the compiled code to call the
garbage collector's allocator directly, and I think that would be a
significant performance win. (It should also pass in the vtable pointer
rather than the class, but that's presumably not hard.)
Hans