RFR: 8371581: C2: PhaseCCP should reach fixpoint by revisiting deeply-Value-d nodes

Aleksey Shipilev shade at openjdk.org
Thu Nov 13 13:24:39 UTC 2025


On Thu, 13 Nov 2025 12:53:53 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> I thought that if a node tries to look deep into the graph, then doing `Value` twice would be expensive. It might not be too concerning since the cases are not really common, so if refactoring hurts readability then staying with the current version would be fine.

Right. Arguably, splitting the loops and introducing a helper method is more readable, see new commits. Testing it now...

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28288#issuecomment-3527793650


More information about the hotspot-compiler-dev mailing list