question about -fno-optimize-static-class-initialization

Boehm, Hans hans_boehm@hp.com
Sat Nov 10 07:32:00 GMT 2001


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



More information about the Java mailing list