RFR(XXS) 8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG
richard.reingruber at sap.com
Thu Aug 29 20:31:54 UTC 2019
could I please get reviews and sponsoring for
The fix avoids crashes if ConnectionGraph::not_global_escape(Node* n) should be called with a node n
that was not added to the connection graph. Note that not all ideal nodes are added (e.g. constant
numbers). This case should be handled more gracefully by returning false.
This is split off from JDK-8227745. There not_global_escape() is applied to the arguments of java
calls. If one argument should be e.g. an integer constant not_global_escape() would crash.
I've run tier1 tests.
More information about the hotspot-compiler-dev