changeset 36827 | 53d2d43551d2 |
parent 35103 | d19354bcbfa6 |
child 36851 | 03e2f4d0a421 |
--- a/hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestObject.java Thu Mar 24 11:48:37 2016 -0700 +++ b/hotspot/test/compiler/unsafe/SunMiscUnsafeAccessTestObject.java Fri Mar 25 15:34:30 2016 +0300 @@ -135,6 +135,7 @@ } + UNSAFE.putObject(base, offset, "foo"); // Compare @@ -152,6 +153,7 @@ assertEquals(x, "bar", "failing compareAndSwap Object value"); } + // Compare set and get { Object o = UNSAFE.getAndSetObject(base, offset, "foo"); @@ -163,3 +165,4 @@ } } +