< prev index next >
src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl.java
Print this page
rev 10233 : 8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
*** 307,316 ****
--- 307,325 ----
public boolean isDontInline() {
return (getFlags() & config().methodFlagsDontInline) != 0;
}
/**
+ * Returns true if this method has a {@code ReservedStackAccess} annotation.
+ *
+ * @return true if ReservedStackAccess annotation present, false otherwise
+ */
+ public boolean hasReservedStackAccess() {
+ return (getFlags() & config().methodFlagsReservedStackAccess) != 0;
+ }
+
+ /**
* Manually adds a DontInline annotation to this method.
*/
public void setNotInlineable() {
compilerToVM().doNotInlineOrCompile(this);
}
< prev index next >