Patch: ALL_INTERIOR_POINTERS

Tom Tromey tromey@redhat.com
Tue Feb 12 20:26:00 GMT 2002


>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:

Bryce> I don't think that would work anyway. If we wanted to make this
Bryce> safe then we'd need locking in _Jv_CreateJavaVM or the
Bryce> invocation API itself (which isn't trivial because how do we
Bryce> initialize the lock?)

Yeah, I agree it won't work right now.

As for locking, for POSIX systems we could build a statically
initialized mutex.  I assume there's a similar trick on other
platforms.

We might have to deal with this if/when we integrate libgcj into a web
browser.

Tom



More information about the Java-patches mailing list