--- a/src/hotspot/cpu/x86/gc/shenandoah/shenandoahBarrierSetAssembler_x86.cpp Fri Aug 16 09:18:41 2019 +0200
+++ b/src/hotspot/cpu/x86/gc/shenandoah/shenandoahBarrierSetAssembler_x86.cpp Tue Aug 06 10:48:21 2019 +0200
@@ -350,9 +350,9 @@
Label done;
__ movptr(tmp, Address(dst, oopDesc::mark_offset_in_bytes()));
__ notptr(tmp);
- __ testb(tmp, markOopDesc::marked_value);
+ __ testb(tmp, markWord::marked_value);
__ jccb(Assembler::notZero, done);
- __ orptr(tmp, markOopDesc::marked_value);
+ __ orptr(tmp, markWord::marked_value);
__ notptr(tmp);
__ mov(dst, tmp);
__ bind(done);
@@ -824,15 +824,15 @@
// then test for both bits clear.
__ notptr(tmp1);
#ifdef _LP64
- __ testb(tmp1, markOopDesc::marked_value);
+ __ testb(tmp1, markWord::marked_value);
#else
// On x86_32, C1 register allocator can give us the register without 8-bit support.
// Do the full-register access and test to avoid compilation failures.
- __ testptr(tmp1, markOopDesc::marked_value);
+ __ testptr(tmp1, markWord::marked_value);
#endif
__ jccb(Assembler::notZero, slow_path);
// Clear both lower bits. It's still inverted, so set them, and then invert back.
- __ orptr(tmp1, markOopDesc::marked_value);
+ __ orptr(tmp1, markWord::marked_value);
__ notptr(tmp1);
// At this point, tmp1 contains the decoded forwarding pointer.
__ mov(res, tmp1);
@@ -963,10 +963,10 @@
// Test if both lowest bits are set. We trick it by negating the bits
// then test for both bits clear.
__ notptr(tmp2);
- __ testb(tmp2, markOopDesc::marked_value);
+ __ testb(tmp2, markWord::marked_value);
__ jccb(Assembler::notZero, slow_path);
// Clear both lower bits. It's still inverted, so set them, and then invert back.
- __ orptr(tmp2, markOopDesc::marked_value);
+ __ orptr(tmp2, markWord::marked_value);
__ notptr(tmp2);
// At this point, tmp2 contains the decoded forwarding pointer.
__ mov(rax, tmp2);