Skip to content

Commit 87bcc4e

Browse files
committed
8284882: SIGSEGV in Node::verify_edges due to compilation bailout
Reviewed-by: stuefe
1 parent fb76f0e commit 87bcc4e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/hotspot/share/opto/compile.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2497,7 +2497,11 @@ void Compile::Code_Gen() {
24972497
{
24982498
TracePhase tp("matcher", &timers[_t_matcher]);
24992499
matcher.match();
2500+
if (failing()) {
2501+
return;
2502+
}
25002503
}
2504+
25012505
// In debug mode can dump m._nodes.dump() for mapping of ideal to machine
25022506
// nodes. Mapping is only valid at the root of each matched subtree.
25032507
NOT_PRODUCT( verify_graph_edges(); )

0 commit comments

Comments
 (0)