hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestLong.java
changeset 38281 b28e2739b429
parent 38234 06263a71233c
child 39419 cc993a4ab581
--- a/hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestLong.java	Fri May 06 14:44:09 2016 +0000
+++ b/hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestLong.java	Fri May 06 17:59:35 2016 +0300
@@ -183,6 +183,7 @@
             assertEquals(x, 2L, "failing compareAndSwap long value");
         }
 
+        UNSAFE.putLong(base, offset, 2L);
 
         // Compare set and get
         {