RFR: 6232281: -XX:-UseLoopSafepoints causes assert(v_false, "Parse::remove_useless_nodes missed this node")

Nils Eliasson neliasso at openjdk.java.net
Thu Nov 19 09:48:07 UTC 2020


On Thu, 19 Nov 2020 09:05:06 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:

> Check for nodes missed by `remove_useless_nodes()` only if PhaseRemoveUseless has actually been run. This makes it possible to use `-XX:-UseLoopSafepoints` without crashing trivially, although implicit assumptions in other parts of C2 about the existence of loop safepoints might lead to more subtle failures for more complex methods.

Looks good!

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

Marked as reviewed by neliasso (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/1311


More information about the hotspot-compiler-dev mailing list