You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "nabarun (JIRA)" <ji...@apache.org> on 2019/02/28 20:04:00 UTC
[jira] [Created] (GEODE-6470) Double-checked locking is not
thread-safe [LGTM]
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)