Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.
/ jdk20u Public archive

Commit bae3733

Browse files
committed
8302172: [JVMCI] HotSpotResolvedJavaMethodImpl.canBeInlined must respect ForceInline
Backport-of: 1ef9f6507ba45419f0fa896915eec064762c5153
1 parent c0a87a2 commit bae3733

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl.java

+3
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,9 @@ public Type[] getGenericParameterTypes() {
577577

578578
@Override
579579
public boolean canBeInlined() {
580+
if (isForceInline()) {
581+
return true;
582+
}
580583
if (hasNeverInlineDirective()) {
581584
return false;
582585
}

0 commit comments

Comments
 (0)