Skip to content

Commit 8ef7832

Browse files
mhaessigTobiHartmann
authored andcommittedMar 28, 2025
8350471: Unhandled compilation bailout in GraphKit::builtin_throw
Reviewed-by: thartmann, chagedorn, kvn
1 parent ddf326b commit 8ef7832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/hotspot/share/opto/graphKit.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ void GraphKit::builtin_throw(Deoptimization::DeoptReason reason) {
587587
default:
588588
break;
589589
}
590-
if (failing()) { stop(); return; } // exception allocation might fail
590+
// If we have a preconstructed exception object, use it.
591591
if (ex_obj != nullptr) {
592592
if (env()->jvmti_can_post_on_exceptions()) {
593593
// check if we must post exception events, take uncommon trap if so

0 commit comments

Comments
 (0)
Please sign in to comment.