Modifier and Type | Field and Description |
---|---|
protected long | address
Address of the entity (e.g., HotSpot |
protected long | entryPoint
Address of the entryPoint of this installed code. |
protected final String | |
protected long | version
Counts how often the address field was reassigned. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public Object | Returns: the value returned by the executed codethe array of object arguments args)Executes the installed code with a variable number of arguments. |
public long | Returns: the address of entity (e.g., HotSpotnmethod or RuntimeStub )
representing this installed code
|
public byte[] | |
public long | |
public String | |
public long | |
public final long | |
public void | |
public void | invalidate(boolean
if deoptimize)true , all existing invocations will be immediately deoptimized.
If false , any existing invocation will continue until it completes or
there is a subsequent call to this method with deoptimize == true before
the invocation completes.Invalidates this installed code such that any subsequent
invocation will throw an
|
public boolean | |
public boolean | Returns: true if the code represented by this object is still valid for invocation, false otherwise (may happen due to deopt, etc.)
|
address | back to summary |
---|---|
protected long address Address of the entity (e.g., HotSpot |
entryPoint | back to summary |
---|---|
protected long entryPoint Address of the entryPoint of this installed code. |
name | back to summary |
---|---|
protected final String name |
version | back to summary |
---|---|
protected long version Counts how often the address field was reassigned. |
InstalledCode | back to summary |
---|---|
public InstalledCode(String name) |
executeVarargs | back to summary |
---|---|
public Object executeVarargs(Object... args) throws InvalidInstalledCodeException Executes the installed code with a variable number of arguments.
|
getAddress | back to summary |
---|---|
public long getAddress()
|
getCode | back to summary |
---|---|
public byte[] getCode() Returns a copy of this installed code if it is valid, null otherwise. |
getEntryPoint | back to summary |
---|---|
public long getEntryPoint()
|
getName | back to summary |
---|---|
public String getName() Returns the name of this installed code. |
getStart | back to summary |
---|---|
public long getStart() Returns the start address of this installed code if it is valid, 0 otherwise. |
getVersion | back to summary |
---|---|
public final long getVersion()
|
invalidate | back to summary |
---|---|
public void invalidate() Equivalent to calling |
invalidate | back to summary |
---|---|
public void invalidate(boolean deoptimize) Invalidates this installed code such that any subsequent
invocation will throw an
|
isAlive | back to summary |
---|---|
public boolean isAlive()
|
isValid | back to summary |
---|---|
public boolean isValid()
|