public final class DebugInfo extends Object
Modifier and Type | Field and Description |
---|---|
private BytecodePosition |
bytecodePosition |
private RegisterSaveLayout |
calleeSaveInfo |
private ReferenceMap |
referenceMap |
private VirtualObject[] |
virtualObjectMapping |
Constructor and Description |
---|
DebugInfo(BytecodePosition codePos) |
DebugInfo(BytecodePosition codePos,
VirtualObject[] virtualObjectMapping)
Creates a new
DebugInfo from the given values. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BytecodeFrame |
frame()
Gets the deoptimization information for each inlined frame (if available).
|
BytecodePosition |
getBytecodePosition() |
RegisterSaveLayout |
getCalleeSaveInfo()
Gets the map from the registers (in the caller's frame) to the slots where they are saved in
the current frame.
|
ReferenceMap |
getReferenceMap() |
boolean |
hasFrame() |
int |
hashCode() |
void |
setCalleeSaveInfo(RegisterSaveLayout calleeSaveInfo)
Sets the map from the registers (in the caller's frame) to the slots where they are saved in
the current frame.
|
void |
setReferenceMap(ReferenceMap referenceMap) |
String |
toString() |
private final BytecodePosition bytecodePosition
private ReferenceMap referenceMap
private final VirtualObject[] virtualObjectMapping
private RegisterSaveLayout calleeSaveInfo
public DebugInfo(BytecodePosition codePos, VirtualObject[] virtualObjectMapping)
DebugInfo
from the given values.codePos
- the code position or frame infovirtualObjectMapping
- the mapping of VirtualObject
s to their real valuespublic DebugInfo(BytecodePosition codePos)
public void setReferenceMap(ReferenceMap referenceMap)
public boolean hasFrame()
true
if this debug information has a framepublic BytecodeFrame frame()
null
if no frame de-opt info is availablepublic BytecodePosition getBytecodePosition()
BytecodeFrame
instance, then it is also the deoptimization information for
each inlined frame.public ReferenceMap getReferenceMap()
public void setCalleeSaveInfo(RegisterSaveLayout calleeSaveInfo)
public RegisterSaveLayout getCalleeSaveInfo()
null
is returned.