--- a/src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp Fri Aug 16 09:18:41 2019 +0200
+++ b/src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp Tue Aug 06 10:48:21 2019 +0200
@@ -61,7 +61,7 @@
// Load object header
movptr(hdr, Address(obj, hdr_offset));
// and mark it as unlocked
- orptr(hdr, markOopDesc::unlocked_value);
+ orptr(hdr, markWord::unlocked_value);
// save unlocked object header into the displaced header location on the stack
movptr(Address(disp_hdr, 0), hdr);
// test if object header is still the same (i.e. unlocked), and if so, store the
@@ -156,7 +156,7 @@
movptr(Address(obj, oopDesc::mark_offset_in_bytes()), t1);
} else {
// This assumes that all prototype bits fit in an int32_t
- movptr(Address(obj, oopDesc::mark_offset_in_bytes ()), (int32_t)(intptr_t)markOopDesc::prototype());
+ movptr(Address(obj, oopDesc::mark_offset_in_bytes ()), (int32_t)(intptr_t)markWord::prototype().value());
}
#ifdef _LP64
if (UseCompressedClassPointers) { // Take care not to kill klass