[
https://issues.apache.org/jira/browse/KAFKA-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yasuhiro Matsuda updated KAFKA-2112:
------------------------------------
Assignee: Yasuhiro Matsuda (was: Joel Koshy)
Status: Patch Available (was: Open)
> 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: Yasuhiro Matsuda
> Attachments: KAFKA-2112.patch
>
>
> 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)