comparison 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
comparison
equal deleted inserted replaced
23985:05922ce51c5e 23986:6d2c72b822b0
345 * bytecodes (@see {@link ResolvedJavaMethod#hasBytecodes()}). 345 * bytecodes (@see {@link ResolvedJavaMethod#hasBytecodes()}).
346 */ 346 */
347 boolean canBeInlined(); 347 boolean canBeInlined();
348 348
349 /** 349 /**
350 * Determines if this method is targeted by a VM directive (e.g.,
351 * {@code -XX:CompileCommand=dontinline,<pattern>}) or VM recognized annotation (e.g.,
352 * {@code jdk.internal.vm.annotation.DontInline}) that specifies it should not be inlined.
353 */
354 boolean hasNeverInlineDirective();
355
356 /**
350 * Returns {@code true} if the inlining of this method should be forced. 357 * Returns {@code true} if the inlining of this method should be forced.
351 */ 358 */
352 boolean shouldBeInlined(); 359 boolean shouldBeInlined();
353 360
354 /** 361 /**