changeset 58516 | d376d86b0a01 |
parent 55227 | 63a62cc10a0a |
child 58679 | 9c3209ff7550 |
child 58962 | 2dcfc28a314d |
--- a/src/hotspot/share/opto/matcher.cpp Tue Oct 08 15:30:46 2019 +0200 +++ b/src/hotspot/share/opto/matcher.cpp Wed Oct 09 12:30:06 2019 +0000 @@ -1751,6 +1751,13 @@ _shared_nodes.map(leaf->_idx, ex); } + // Have mach nodes inherit GC barrier data + if (leaf->is_LoadStore()) { + mach->set_barrier_data(leaf->as_LoadStore()->barrier_data()); + } else if (leaf->is_Mem()) { + mach->set_barrier_data(leaf->as_Mem()->barrier_data()); + } + return ex; }