Patch: ALL_INTERIOR_POINTERS
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Tue Feb 12 19:00:00 GMT 2002
Tom Tromey wrote:
>Bryce> I also took the opportunity to clean out some cruft in boehm.cc
>Bryce> - specifically the locking stuff which I don't think we need
>Bryce> (_Jv_InitGC is guaranteed to be called single-threaded).
>
>What if libgcj.so is dlopen()ed and then the invocation API is used
>from a multithreaded app?
>
I don't think that would work anyway. If we wanted to make this safe
then we'd need locking in _Jv_CreateJavaVM or the invocation API itself
(which isn't trivial because how do we initialize the lock?)
regards
Bryce.
More information about the Java-patches
mailing list