[ 
https://issues.apache.org/jira/browse/KAFKA-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14487830#comment-14487830
 ] 

Yasuhiro Matsuda commented on KAFKA-2112:
-----------------------------------------

Created reviewboard https://reviews.apache.org/r/33028/diff/
 against branch origin/trunk

> 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
>         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)

Reply via email to