8302172: [JVMCI] HotSpotResolvedJavaMethodImpl.canBeInlined must respect ForceInline
Reviewed-by: dlong
This commit is contained in:
parent
74b167b23d
commit
1ef9f6507b
@ -577,6 +577,9 @@ final class HotSpotResolvedJavaMethodImpl extends HotSpotMethod implements HotSp
|
||||
|
||||
@Override
|
||||
public boolean canBeInlined() {
|
||||
if (isForceInline()) {
|
||||
return true;
|
||||
}
|
||||
if (hasNeverInlineDirective()) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user