CompiledCode
with additional HotSpot-specific information required for installing the
code in HotSpot's code cache.
Modifier and Type | Class and Description |
---|---|
public static class |
Modifier and Type | Field and Description |
---|---|
protected final Assumptions. | assumptions
A list of |
protected final HotSpotCompiledCode. | comments
A list of comments that will be included in code dumps. |
protected final byte[] | dataSection
The data section containing serialized constants for the emitted machine code. |
protected final int | dataSectionAlignment
The minimum alignment of the data section. |
protected final DataPatch[] | dataSectionPatches
A list of relocations in the |
protected final StackSlot | deoptRescueSlot
The deopt rescue slot. |
protected final boolean | isImmutablePIC
A flag determining whether this code is immutable and position independent. |
protected final ResolvedJavaMethod[] | methods
The list of the methods whose bytecodes were used as input to the compilation. |
protected final String | name
The name of this compilation unit. |
protected final Site[] | sites
A list of code annotations describing special sites in |
protected final byte[] | targetCode
The buffer containing the emitted machine code. |
protected final int | targetCodeSize
The leading number of bytes in |
protected final int | totalFrameSize
The total size of the stack frame of this compiled method. |
Access | Constructor and Description |
---|---|
public | HotSpotCompiledCode(String name, byte[] targetCode, int targetCodeSize, Site[] sites, Assumptions.
|
Modifier and Type | Method and Description |
---|---|
public String | |
public String | |
private boolean | validateFrames()
Ensure that all the frames passed into the VM are properly formatted with an empty or illegal slot following double word slots. |
public static void |
assumptions | back to summary |
---|---|
protected final Assumptions. A list of |
comments | back to summary |
---|---|
protected final HotSpotCompiledCode. A list of comments that will be included in code dumps. |
dataSection | back to summary |
---|---|
protected final byte[] dataSection The data section containing serialized constants for the emitted machine code. |
dataSectionAlignment | back to summary |
---|---|
protected final int dataSectionAlignment The minimum alignment of the data section. |
dataSectionPatches | back to summary |
---|---|
protected final DataPatch[] dataSectionPatches A list of relocations in the |
deoptRescueSlot | back to summary |
---|---|
protected final StackSlot deoptRescueSlot The deopt rescue slot. Must be non-null if there is a safepoint in the method. |
isImmutablePIC | back to summary |
---|---|
protected final boolean isImmutablePIC A flag determining whether this code is immutable and position independent. |
methods | back to summary |
---|---|
protected final ResolvedJavaMethod[] methods The list of the methods whose bytecodes were used as input to the compilation. If
|
name | back to summary |
---|---|
protected final String name The name of this compilation unit. |
sites | back to summary |
---|---|
protected final Site[] sites A list of code annotations describing special sites in |
targetCode | back to summary |
---|---|
protected final byte[] targetCode The buffer containing the emitted machine code. |
targetCodeSize | back to summary |
---|---|
protected final int targetCodeSize The leading number of bytes in |
totalFrameSize | back to summary |
---|---|
protected final int totalFrameSize The total size of the stack frame of this compiled method. |
HotSpotCompiledCode | back to summary |
---|---|
public HotSpotCompiledCode(String name, byte[] targetCode, int targetCodeSize, Site[] sites, Assumptions.
|
getName | back to summary |
---|---|
public String getName() |
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- |
validateFrames | back to summary |
---|---|
private boolean validateFrames() Ensure that all the frames passed into the VM are properly formatted with an empty or illegal slot following double word slots. |
verifyVirtualObject | back to summary |
---|---|
public static void verifyVirtualObject(VirtualObject v) |
Modifier and Type | Field and Description |
---|---|
public final int | |
public final String |
pcOffset | back to summary |
---|---|
public final int pcOffset |
text | back to summary |
---|---|
public final String text |
Comment | back to summary |
---|---|
public Comment(int pcOffset, String text) |