Double check locking

Tom Tromey tromey@redhat.com
Tue Jun 11 08:19:00 GMT 2002


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

Bryce> (BTW last time I checked gcj was only doing this type of check
Bryce> in some cases. It still generates a lot of unconditional
Bryce> _Jv_InitClass calls too)

I think the check in the _Jv_InitClass that gets inlined isn't safe.
At least, it doesn't make any apparent attempt to be safe.

Tom



More information about the Java mailing list