public interface SubstrateInstalledCode
Modifier and Type | Interface and Description |
---|---|
static interface |
SubstrateInstalledCode.Access
Provides access to a
SubstrateInstalledCode . |
Modifier and Type | Method and Description |
---|---|
void |
clearAddress() |
long |
getAddress() |
jdk.vm.ci.meta.ResolvedJavaMethod |
getMethod()
Returns the last method object passed to
SubstrateInstalledCode.setAddress(long, jdk.vm.ci.meta.ResolvedJavaMethod) . |
String |
getName() |
SubstrateSpeculationLog |
getSpeculationLog() |
void |
invalidate() |
boolean |
isValid() |
void |
setAddress(long address,
jdk.vm.ci.meta.ResolvedJavaMethod method) |
String getName()
long getAddress()
jdk.vm.ci.meta.ResolvedJavaMethod getMethod()
SubstrateInstalledCode.setAddress(long, jdk.vm.ci.meta.ResolvedJavaMethod)
. The return value might be
passed as the argument to future calls to SubstrateInstalledCode.setAddress(long, jdk.vm.ci.meta.ResolvedJavaMethod)
.
May return null
if the subclass does not have a use for the method object (also not
in SubstrateInstalledCode.setAddress(long, jdk.vm.ci.meta.ResolvedJavaMethod)
) and therefore no need to retain it. Expected to return null
if SubstrateInstalledCode.setAddress(long, jdk.vm.ci.meta.ResolvedJavaMethod)
has never been called, or after SubstrateInstalledCode.clearAddress()
has been called.
void setAddress(long address, jdk.vm.ci.meta.ResolvedJavaMethod method)
void clearAddress()
boolean isValid()
void invalidate()
SubstrateSpeculationLog getSpeculationLog()