Skip to content

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
GoeLin committed Apr 25, 2023
1 parent 3e0e4f0 commit d964229
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,9 @@ public Type[] getGenericParameterTypes() {

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

1 comment on commit d964229

@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.