Skip to content

Commit c1c0ac8

Browse files
committed
8342772: Assert in LateInlineMHCallGenerator::do_late_inline_check
Reviewed-by: vlivanov, chagedorn, thartmann
1 parent 5c6947f commit c1c0ac8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/hotspot/share/opto/callGenerator.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2000, 2025, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2000, 2026, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -418,7 +418,8 @@ bool LateInlineMHCallGenerator::do_late_inline_check(Compile* C, JVMState* jvms)
418418
C->inline_printer()->record(cg->method(), call_node()->jvms(), InliningResult::FAILURE,
419419
"late method handle call resolution");
420420
}
421-
assert(!cg->is_late_inline() || cg->is_mh_late_inline() || AlwaysIncrementalInline || StressIncrementalInlining, "we're doing late inlining");
421+
assert(!cg->is_late_inline() || cg->is_mh_late_inline() || cg->is_virtual_late_inline() ||
422+
AlwaysIncrementalInline || StressIncrementalInlining, "we're doing late inlining");
422423
_inline_cg = cg;
423424
return true;
424425
} else {

0 commit comments

Comments
 (0)