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