nabarun created GEODE-6470:
------------------------------
Summary: Double-checked locking is not thread-safe [LGTM]
Key: GEODE-6470
URL: https://issues.apache.org/jira/browse/GEODE-6470
Project: Geode
Issue Type: Bug
Reporter: nabarun
A repeated check on a non-volatile field is not thread-safe, and could result
in unexpected behavior
References:
[http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html]
https://en.wikipedia.org/wiki/Double-checked_locking
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)