RFR(S): 8199784: PhaseIdealLoop::place_near_use() might return wrong control with loop strip mining

Roland Westrelin rwestrel at redhat.com
Tue Mar 20 09:25:57 UTC 2018


When a Load is sunk out of a loop, if one of the uses is a Phi of a
strip mined CountedLoop, PhaseIdealLoop::place_near_use() should return
the entry control of the OuterStripMinedLoop.

I couldn't write a test case that would trigger this and I'm not even
sure it's even possible. We're seeing this with some graph patterns that
are specific to Shenandoah but I think it's better to have this fixed


More information about the hotspot-compiler-dev mailing list