Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
8302172: [JVMCI] HotSpotResolvedJavaMethodImpl.canBeInlined must resp…
Browse files Browse the repository at this point in the history
…ect ForceInline

Backport-of: 1ef9f6507ba45419f0fa896915eec064762c5153
  • Loading branch information
TobiHartmann committed Apr 4, 2023
1 parent c0a87a2 commit bae3733
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -577,6 +577,9 @@ public Type[] getGenericParameterTypes() {

@Override
public boolean canBeInlined() {
if (isForceInline()) {
return true;
}
if (hasNeverInlineDirective()) {
return false;
}
Expand Down

1 comment on commit bae3733

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.