test/hotspot/jtreg/compiler/c2/aarch64/TestUnsafeVolatileLoad.java
changeset 52220 9c260a6b6471
parent 50874 551c340ca01a
--- a/test/hotspot/jtreg/compiler/c2/aarch64/TestUnsafeVolatileLoad.java	Mon Oct 22 14:41:51 2018 -0700
+++ b/test/hotspot/jtreg/compiler/c2/aarch64/TestUnsafeVolatileLoad.java	Mon Oct 22 17:00:04 2018 -0700
@@ -51,6 +51,6 @@
 
     public int testObj()
     {
-        return ((Integer)unsafe.getObjectVolatile(this, f_obj_off));
+        return ((Integer)unsafe.getReferenceVolatile(this, f_obj_off));
     }
 }