changeset 36827 | 53d2d43551d2 |
parent 35103 | d19354bcbfa6 |
child 36851 | 03e2f4d0a421 |
--- a/hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestInt.java Thu Mar 24 11:48:37 2016 -0700 +++ b/hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestInt.java Fri Mar 25 15:34:30 2016 +0300 @@ -164,6 +164,7 @@ } + UNSAFE.putInt(base, offset, 1); // Compare @@ -181,6 +182,7 @@ assertEquals(x, 2, "failing compareAndSwap int value"); } + // Compare set and get { int o = UNSAFE.getAndSetInt(base, offset, 1); @@ -209,3 +211,4 @@ } } } +