Yasuhiro Matsuda created KAFKA-2112:
---------------------------------------

             Summary: make overflowWheel volatile
                 Key: KAFKA-2112
                 URL: https://issues.apache.org/jira/browse/KAFKA-2112
             Project: Kafka
          Issue Type: Bug
          Components: purgatory
            Reporter: Yasuhiro Matsuda
            Assignee: Joel Koshy


overflowWheel in TimingWheel needs to be volatile due to the issue of 
Double-Checked Locking pattern with JVM.

http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to