< prev index next >

src/hotspot/share/opto/memnode.cpp

Print this page

        

*** 1172,1182 **** // Is the value loaded previously stored by an arraycopy? If so return // a load node that reads from the source array so we may be able to // optimize out the ArrayCopy node later. Node* LoadNode::can_see_arraycopy_value(Node* st, PhaseGVN* phase) const { ! if (UseLoadBarrier && bottom_type()->make_oopptr() != NULL) { return NULL; } Node* ld_adr = in(MemNode::Address); intptr_t ld_off = 0; --- 1172,1182 ---- // Is the value loaded previously stored by an arraycopy? If so return // a load node that reads from the source array so we may be able to // optimize out the ArrayCopy node later. Node* LoadNode::can_see_arraycopy_value(Node* st, PhaseGVN* phase) const { ! if (UseZGC && bottom_type()->make_oopptr() != NULL) { return NULL; } Node* ld_adr = in(MemNode::Address); intptr_t ld_off = 0;
< prev index next >