Mercurial > hg > graal-jvmci-8
diff jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ResolvedJavaMethod.java @ 23986:6d2c72b822b0
add ResolvedJavaMethod.hasNeverInlineDirective (JDK-8172733)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 24 Jan 2017 13:03:27 +0100 |
parents | 224f43824e2b |
children |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ResolvedJavaMethod.java Mon Jan 23 15:50:05 2017 -0800 +++ b/jvmci/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ResolvedJavaMethod.java Tue Jan 24 13:03:27 2017 +0100 @@ -347,6 +347,13 @@ boolean canBeInlined(); /** + * Determines if this method is targeted by a VM directive (e.g., + * {@code -XX:CompileCommand=dontinline,<pattern>}) or VM recognized annotation (e.g., + * {@code jdk.internal.vm.annotation.DontInline}) that specifies it should not be inlined. + */ + boolean hasNeverInlineDirective(); + + /** * Returns {@code true} if the inlining of this method should be forced. */ boolean shouldBeInlined();