src/hotspot/cpu/arm/relocInfo_arm.cpp
changeset 49592 77fb0be7d19f
parent 47216 71c04702a3d5
child 49849 2aa32bb6f3dc
--- a/src/hotspot/cpu/arm/relocInfo_arm.cpp	Fri Mar 23 12:55:39 2018 +0100
+++ b/src/hotspot/cpu/arm/relocInfo_arm.cpp	Thu Mar 15 21:24:10 2018 +0100
@@ -27,7 +27,8 @@
 #include "assembler_arm.inline.hpp"
 #include "code/relocInfo.hpp"
 #include "nativeInst_arm.hpp"
-#include "oops/oop.inline.hpp"
+#include "oops/compressedOops.inline.hpp"
+#include "oops/oop.hpp"
 #include "runtime/safepoint.hpp"
 
 void Relocation::pd_set_data_value(address x, intptr_t o, bool verify_only) {
@@ -40,7 +41,7 @@
       uintptr_t d = ni->data();
       guarantee((d >> 32) == 0, "not narrow oop");
       narrowOop no = d;
-      oop o = oopDesc::decode_heap_oop(no);
+      oop o = CompressedOops::decode(no);
       guarantee(cast_from_oop<intptr_t>(o) == (intptr_t)x, "instructions must match");
     } else {
       ni->set_data((intptr_t)x);