| Constructor and Description |
|---|
Debug() |
| Modifier and Type | Method and Description |
|---|---|
void |
arrayRemsetEntry(Address start,
Address guard)
An array remset entry has been traced during collection.
|
void |
collectorPhase(short phaseId,
int ordinal,
boolean before)
A per-collector GC collection phase
|
void |
globalPhase(short phaseId,
boolean before)
A global GC collection phase
|
abstract boolean |
isEnabled()
Global switch for debugging - if
false the other methods of this
class are never called. |
(package private) static boolean |
isEnabledTrapdoor(Debug d) |
void |
modbufEntry(ObjectReference object)
A modbuf (object remembering barrier) entry has been
traced during collection.
|
void |
mutatorPhase(short phaseId,
int ordinal,
boolean before)
A per-mutator GC collection phase
|
void |
queueHeadInsert(String queueName,
Address value)
An entry has been inserted at the head of a queue
*** Non-standard, requires plumbing into a collector during debugging ***
|
void |
queueHeadRemove(String queueName,
Address value)
An entry has been inserted at the head of a queue
*** Non-standard, requires plumbing into a collector during debugging ***
|
void |
queueTailInsert(String queueName,
Address value)
An entry has been inserted at the head of a queue
*** Non-standard, requires plumbing into a collector during debugging ***
|
void |
queueTailRemove(String queueName,
Address value)
An entry has been inserted at the head of a queue
*** Non-standard, requires plumbing into a collector during debugging ***
|
void |
remsetEntry(Address slot)
A remset (slot remembering barrier) entry has been
traced during collection.
|
void |
traceObject(TraceLocal trace,
ObjectReference object)
Trace an object during GC
*** Non-standard, requires plumbing into a collector during debugging ***
|
public Debug()
public abstract boolean isEnabled()
false the other methods of this
class are never called.public void modbufEntry(ObjectReference object)
object - The modbuf entrypublic void remsetEntry(Address slot)
slot - The remset entrypublic void arrayRemsetEntry(Address start, Address guard)
start - The entry start addressguard - The guardpublic void globalPhase(short phaseId, boolean before)
phaseId - The phase IDbefore - true at the start of the phase, false at the endpublic void collectorPhase(short phaseId, int ordinal, boolean before)
phaseId - The phase IDordinal - The collector ID (within this collection)before - true at the start of the phase, false at the endpublic void mutatorPhase(short phaseId, int ordinal, boolean before)
phaseId - The phase IDordinal - The mutator IDbefore - true at the start of the phase, false at the endpublic void traceObject(TraceLocal trace, ObjectReference object)
trace - The trace being performedobject - The objectpublic void queueHeadInsert(String queueName, Address value)
queueName - The name of the queuevalue - The valuepublic void queueTailInsert(String queueName, Address value)
queueName - The name of the queuevalue - The valuepublic void queueHeadRemove(String queueName, Address value)
queueName - The name of the queuevalue - The valuepublic void queueTailRemove(String queueName, Address value)
queueName - The name of the queuevalue - The valuestatic final boolean isEnabledTrapdoor(Debug d)