This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: ALL_INTERIOR_POINTERS
>>>>> "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