--- old/src/hotspot/cpu/s390/gc/shared/barrierSetAssembler_s390.cpp 2018-06-13 04:30:24.469688579 -0400 +++ new/src/hotspot/cpu/s390/gc/shared/barrierSetAssembler_s390.cpp 2018-06-13 04:30:24.157672193 -0400 @@ -38,7 +38,7 @@ void BarrierSetAssembler::load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type, const Address& addr, Register dst, Register tmp1, Register tmp2, Label *L_handle_null) { bool on_heap = (decorators & IN_HEAP) != 0; - bool on_root = (decorators & IN_ROOT) != 0; + bool on_root = (decorators & IN_NATIVE) != 0; bool not_null = (decorators & OOP_NOT_NULL) != 0; assert(on_heap || on_root, "where?"); @@ -68,7 +68,7 @@ void BarrierSetAssembler::store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type, const Address& addr, Register val, Register tmp1, Register tmp2, Register tmp3) { bool on_heap = (decorators & IN_HEAP) != 0; - bool on_root = (decorators & IN_ROOT) != 0; + bool on_root = (decorators & IN_NATIVE) != 0; bool not_null = (decorators & OOP_NOT_NULL) != 0; assert(on_heap || on_root, "where?"); assert_different_registers(val, tmp1, tmp2);