Integrated: 8272377: assert preconditions that are ensured when created in add_final_edges

Yi Yang yyang at openjdk.java.net
Wed Sep 1 10:46:50 UTC 2021


On Thu, 12 Aug 2021 15:07:19 GMT, Yi Yang <yyang at openjdk.org> wrote:

> I think we can assert preconditions, which are ensured by add_node_to_connection_graph when they were first added to CG, in add_final_edges when they are delay handled, then we can skip checking these preconditions in runtime(assertions instead). This PR also does some code refactor.

This pull request has now been integrated.

Changeset: 02822e13
Author:    Yi Yang <yyang at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/02822e1398d6015f0ed26edd440db8e0d50bf152
Stats:     147 lines in 2 files changed: 36 ins; 46 del; 65 mod

8272377: assert preconditions that are ensured when created in add_final_edges

Reviewed-by: thartmann, kvn

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

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


More information about the hotspot-compiler-dev mailing list