CDV ❯ Ensure all writes to variables using updaters in statistics module use the updater.
-
Bug
-
Status: Resolved
-
1 Critical
-
Resolution: Fixed
-
-
-
cdennis
-
Reporter: cdennis
-
January 30, 2013
-
0
-
Watchers: 1
-
January 30, 2013
-
January 30, 2013
Description
The JDK spec doesn’t guarantee the atomicity of compareAndSet calls on updaters with respect to direct modification of the same variable. Instead we must perform all writes through the updater itself.