public class GCTraceCollector extends SSCollector
Specifically, this class defines SS collection behavior
(through inducedTrace and the collectionPhase
method), and collection-time allocation (copying of objects).
See GCTrace for an overview of the GC trace algorithm.
SSCollector,
GCTrace,
GCTraceMutator,
StopTheWorldCollector,
CollectorContext| Modifier and Type | Field and Description |
|---|---|
protected GCTraceTraceLocal |
inducedTrace
Instance fields
|
los, ss, tracesanityLocalgrouplog| Constructor and Description |
|---|
GCTraceCollector()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
collectionPhase(short phaseId,
boolean primary)
Perform a (local, i.e.per-collector) collection phase.
|
TraceLocal |
getCurrentTrace() |
private static GCTrace |
global() |
allocCopy, isSemiSpaceObject, postCopycollect, concurrentCollect, concurrentCollectionPhaseparallelWorkerCount, parallelWorkerOrdinal, park, rendezvous, runcopyCheckAllocator, getId, getLog, initCollectorprotected final GCTraceTraceLocal inducedTrace
public GCTraceCollector()
public void collectionPhase(short phaseId, boolean primary)
collectionPhase in class SSCollectorphaseId - The unique phase identifierprimary - Should this thread be used to execute any single-threaded
local operations?public TraceLocal getCurrentTrace()
getCurrentTrace in class SSCollector