--- old/src/hotspot/cpu/ppc/gc/shared/barrierSetAssembler_ppc.cpp 2018-06-13 04:02:18.053159875 -0400 +++ new/src/hotspot/cpu/ppc/gc/shared/barrierSetAssembler_ppc.cpp 2018-06-13 04:02:17.741143481 -0400 @@ -33,16 +33,16 @@ void BarrierSetAssembler::store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type, Register base, RegisterOrConstant ind_or_offs, Register val, Register tmp1, Register tmp2, Register tmp3, bool needs_frame) { - bool on_heap = (decorators & IN_HEAP) != 0; - bool on_root = (decorators & IN_ROOT) != 0; + bool in_heap = (decorators & IN_HEAP) != 0; + bool in_native = (decorators & IN_NATIVE) != 0; bool not_null = (decorators & OOP_NOT_NULL) != 0; - assert(on_heap || on_root, "where?"); + assert(in_heap || in_native, "where?"); assert_different_registers(base, val, tmp1, tmp2, R0); switch (type) { case T_ARRAY: case T_OBJECT: { - if (UseCompressedOops && on_heap) { + if (UseCompressedOops && in_heap) { Register co = tmp1; if (val == noreg) { __ li(co, 0); @@ -66,16 +66,16 @@ void BarrierSetAssembler::load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type, Register base, RegisterOrConstant ind_or_offs, Register dst, Register tmp1, Register tmp2, bool needs_frame, Label *L_handle_null) { - bool on_heap = (decorators & IN_HEAP) != 0; - bool on_root = (decorators & IN_ROOT) != 0; + bool in_heap = (decorators & IN_HEAP) != 0; + bool in_native = (decorators & IN_NATIVE) != 0; bool not_null = (decorators & OOP_NOT_NULL) != 0; - assert(on_heap || on_root, "where?"); + assert(in_heap || in_native, "where?"); assert_different_registers(ind_or_offs.register_or_noreg(), dst, R0); switch (type) { case T_ARRAY: case T_OBJECT: { - if (UseCompressedOops && on_heap) { + if (UseCompressedOops && in_heap) { if (L_handle_null != NULL) { // Label provided. __ lwz(dst, ind_or_offs, base); __ cmpwi(CCR0, dst, 0);