Skip to content

Commit 1ef9f65

Browse files
author
Doug Simon
committed
8302172: [JVMCI] HotSpotResolvedJavaMethodImpl.canBeInlined must respect ForceInline
Reviewed-by: dlong
1 parent 74b167b commit 1ef9f65

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)