public abstract class TraceInterface extends Object
Constructor and Description |
---|
TraceInterface() |
Modifier and Type | Method and Description |
---|---|
abstract Offset |
adjustSlotOffset(boolean isScalar,
ObjectReference src,
Address slot)
This adjusts the offset into an object to reflect what it would look like
if the fields were laid out in memory space immediately after the object
pointer.
|
abstract boolean |
gcEnabled()
Returns
true if the VM is ready for a garbage collection. |
abstract Address |
getBootImageLink() |
abstract Word |
getDeathTime(ObjectReference ref) |
abstract int |
getHeaderEndOffset() |
abstract int |
getHeaderSize() |
abstract ObjectReference |
getLink(ObjectReference ref) |
abstract Word |
getOID() |
abstract Word |
getOID(ObjectReference ref) |
abstract void |
setDeathTime(ObjectReference ref,
Word time_) |
abstract void |
setLink(ObjectReference ref,
ObjectReference link) |
abstract void |
setOID(Word oid) |
abstract Address |
skipOwnFramesAndDump(ObjectReference typeRef)
This skips over the frames added by the tracing algorithm, outputs
information identifying the method the containts the "new" call triggering
the allocation, and returns the address of the first non-trace, non-alloc
stack frame.
|
abstract void |
updateDeathTime(ObjectReference obj)
Update an object's death time.
|
abstract void |
updateTime(Word time_) |
public TraceInterface()
public abstract boolean gcEnabled()
true
if the VM is ready for a garbage collection.true
if the VM is ready for GC, false
otherwise.public abstract Offset adjustSlotOffset(boolean isScalar, ObjectReference src, Address slot)
isScalar
- If this is a pointer store to a scalar objectsrc
- The address of the source objectslot
- The address within src
into which
the update will be storedpublic abstract Address skipOwnFramesAndDump(ObjectReference typeRef)
typeRef
- The type reference (tib) of the object just allocatedpublic abstract void updateDeathTime(ObjectReference obj)
obj
- the objectpublic abstract void setDeathTime(ObjectReference ref, Word time_)
public abstract void setLink(ObjectReference ref, ObjectReference link)
public abstract void updateTime(Word time_)
public abstract Word getOID(ObjectReference ref)
public abstract Word getDeathTime(ObjectReference ref)
public abstract ObjectReference getLink(ObjectReference ref)
public abstract Address getBootImageLink()
public abstract int getHeaderSize()
public abstract int getHeaderEndOffset()