Groups > BEA > JRockit > JRockit and double-checked locking pseudopattern




JRockit and double-checked locking pseudopattern

JRockit and double-checked locking pseudopattern
Mon, 12 May 2008 10:03:44 -070
Hello,

I'd like ask a question: is JRockit able to live with double-checked locking
singleton creation pseudopattern? 

AFAIK IBM and Sun JDKs can do it without a problem (as described in
http://www.ibm.com/developerworks/java/library/j-dcl.html).

The problem is that I want to migrate an existing WLAS domain from Sun JVM to
WLAS 10 and JRockit and this domain contains some legacy code in which
singletons were created using double-checked locking.

Best regards,

Post Reply
about | contact