public interface HotSpotResolvedJavaMethod extends ResolvedJavaMethod
JavaMethod
for resolved HotSpot methods.ANNOTATION, BRIDGE, ENUM, MANDATED, SYNTHETIC, VARARGS
Modifier and Type | Method and Description |
---|---|
int |
allocateCompileId(int entryBCI)
Allocates a compile id for this method by asking the VM for one.
|
HotSpotResolvedObjectType |
getDeclaringClass()
Returns the
ResolvedJavaType object representing the class or interface that declares
this method. |
boolean |
hasBalancedMonitors() |
boolean |
hasCodeAtLevel(int entryBCI,
int level) |
boolean |
hasCompiledCode()
Returns whether this method has compiled code.
|
boolean |
hasCompiledCodeAtLevel(int level) |
boolean |
ignoredBySecurityStackWalk()
Returns true if this method is one of the special methods that is ignored by security stack
walks.
|
int |
intrinsicId() |
boolean |
isCallerSensitive()
Returns true if this method has a
CallerSensitive annotation. |
default boolean |
isDefault()
Returns
true if this method is a default method; returns false otherwise. |
boolean |
isDontInline()
Returns true if this method has a
DontInline annotation. |
boolean |
isForceInline()
Returns true if this method has a
ForceInline annotation. |
void |
setNotInlineable()
Manually adds a DontInline annotation to this method.
|
ResolvedJavaMethod |
uniqueConcreteMethod(HotSpotResolvedObjectType receiver) |
int |
vtableEntryOffset(ResolvedJavaType resolved)
Returns the offset of this method into the v-table.
|
asStackTraceElement, canBeInlined, canBeStaticallyBound, getAnnotation, getAnnotations, getCode, getCodeSize, getConstantPool, getEncoding, getExceptionHandlers, getGenericParameterTypes, getLineNumberTable, getLocalVariableTable, getMaxLocals, getMaxStackSize, getModifiers, getParameterAnnotation, getParameterAnnotations, getParameterAnnotations, getProfilingInfo, getProfilingInfo, getSpeculationLog, hasBytecodes, hasReceiver, invoke, isBridge, isClassInitializer, isConstructor, isFinal, isInVirtualMethodTable, isJavaLangObjectInit, isSignaturePolymorphic, isSynthetic, isVarArgs, reprofile, shouldBeInlined, toParameterTypes
format, getName, getSignature
isAbstract, isConcrete, isFinalFlagSet, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, jvmClassModifiers, jvmFieldModifiers, jvmMethodModifiers
boolean isCallerSensitive()
CallerSensitive
annotation.HotSpotResolvedObjectType getDeclaringClass()
ResolvedJavaMethod
ResolvedJavaType
object representing the class or interface that declares
this method.getDeclaringClass
in interface JavaMethod
getDeclaringClass
in interface ResolvedJavaMethod
boolean isForceInline()
ForceInline
annotation.boolean isDontInline()
DontInline
annotation.void setNotInlineable()
boolean ignoredBySecurityStackWalk()
boolean hasBalancedMonitors()
ResolvedJavaMethod uniqueConcreteMethod(HotSpotResolvedObjectType receiver)
boolean hasCompiledCode()
boolean hasCompiledCodeAtLevel(int level)
level
- level
.default boolean isDefault()
ResolvedJavaMethod
true
if this method is a default method; returns false
otherwise.
A default method is a public non-abstract instance method, that is, a non-static method with
a body, declared in an interface type.isDefault
in interface ResolvedJavaMethod
int vtableEntryOffset(ResolvedJavaType resolved)
ResolvedJavaMethod.isInVirtualMethodTable(ResolvedJavaType)
, otherwise an exception is
thrown.int intrinsicId()
int allocateCompileId(int entryBCI)
entryBCI
- entry bciboolean hasCodeAtLevel(int entryBCI, int level)