--- old/src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.cpp 2018-06-13 04:30:28.113879959 -0400 +++ new/src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.cpp 2018-06-13 04:30:27.797863364 -0400 @@ -32,7 +32,7 @@ void BarrierSetAssembler::load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type, Register dst, Address src, Register tmp1, Register tmp_thread) { bool on_heap = (decorators & IN_HEAP) != 0; - bool on_root = (decorators & IN_ROOT) != 0; + bool on_root = (decorators & IN_NATIVE) != 0; bool oop_not_null = (decorators & OOP_NOT_NULL) != 0; bool atomic = (decorators & MO_RELAXED) != 0; @@ -97,7 +97,7 @@ void BarrierSetAssembler::store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type, Address dst, Register val, Register tmp1, Register tmp2) { bool on_heap = (decorators & IN_HEAP) != 0; - bool on_root = (decorators & IN_ROOT) != 0; + bool on_root = (decorators & IN_NATIVE) != 0; bool oop_not_null = (decorators & OOP_NOT_NULL) != 0; bool atomic = (decorators & MO_RELAXED) != 0;