--- old/src/hotspot/cpu/sparc/gc/shared/barrierSetAssembler_sparc.cpp 2018-06-13 04:30:26.301784796 -0400 +++ new/src/hotspot/cpu/sparc/gc/shared/barrierSetAssembler_sparc.cpp 2018-06-13 04:30:25.989768410 -0400 @@ -33,7 +33,7 @@ void BarrierSetAssembler::store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type, Register val, Address dst, Register tmp) { 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; switch (type) { @@ -69,7 +69,7 @@ void BarrierSetAssembler::load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type, Address src, Register dst, Register tmp) { 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; switch (type) {