--- old/src/hotspot/cpu/arm/relocInfo_arm.cpp 2018-03-21 16:40:53.327888553 +0100 +++ new/src/hotspot/cpu/arm/relocInfo_arm.cpp 2018-03-21 16:40:53.123888560 +0100 @@ -27,7 +27,8 @@ #include "assembler_arm.inline.hpp" #include "code/relocInfo.hpp" #include "nativeInst_arm.hpp" -#include "oops/oop.inline.hpp" +#include "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(o) == (intptr_t)x, "instructions must match"); } else { ni->set_data((intptr_t)x);