test/hotspot/jtreg/compiler/c2/aarch64/TestUnsafeVolatileCAS.java
changeset 52220 9c260a6b6471
parent 50874 551c340ca01a
child 52409 87bc444ca642
--- a/test/hotspot/jtreg/compiler/c2/aarch64/TestUnsafeVolatileCAS.java	Mon Oct 22 14:41:51 2018 -0700
+++ b/test/hotspot/jtreg/compiler/c2/aarch64/TestUnsafeVolatileCAS.java	Mon Oct 22 17:00:04 2018 -0700
@@ -75,6 +75,6 @@
 
     public void testObj(Object x, Object o)
     {
-        unsafe.compareAndSetObject(this, f_obj_off, x, o);
+        unsafe.compareAndSetReference(this, f_obj_off, x, o);
     }
 }