jdk/src/java.base/share/classes/java/util/concurrent/atomic/AtomicBoolean.java
changeset 36936 bfcdf736a998
parent 33674 566777f73c32
child 39725 9548f8d846e9
--- a/jdk/src/java.base/share/classes/java/util/concurrent/atomic/AtomicBoolean.java	Thu Mar 24 16:21:19 2016 +0100
+++ b/jdk/src/java.base/share/classes/java/util/concurrent/atomic/AtomicBoolean.java	Fri Mar 25 15:35:43 2016 +0300
@@ -136,7 +136,7 @@
      * @since 1.6
      */
     public final void lazySet(boolean newValue) {
-        U.putOrderedInt(this, VALUE, (newValue ? 1 : 0));
+        U.putIntRelease(this, VALUE, (newValue ? 1 : 0));
     }
 
     /**