Thread safety and static initializers

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu Oct 11 01:27:00 GMT 2001


On Thursday, October 11, 2001, at 09:14  PM, Andrew Haley wrote:

> b.  Wrapping dlopen() with synchgronization code.
>
> If that's all there is to do, I'll do it straight away!

Yep. It just needs to synchronize on &ClassClass to protect the class 
chain (classes could also be defined by the interpreter).

regards

Bryce.




More information about the Java mailing list