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