public class MSCollector extends StopTheWorldCollector
Specifically, this class defines MS collection behavior
(through trace
and the collectionPhase
method).
Modifier and Type | Field and Description |
---|---|
protected TraceLocal |
currentTrace |
protected MSTraceLocal |
fullTrace |
sanityLocal
group
log
Constructor and Description |
---|
MSCollector() |
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 MS |
global() |
collect, concurrentCollect, concurrentCollectionPhase
parallelWorkerCount, parallelWorkerOrdinal, park, rendezvous, run
allocCopy, copyCheckAllocator, getId, getLog, initCollector, postCopy
protected MSTraceLocal fullTrace
protected TraceLocal currentTrace
public MSCollector()
public void collectionPhase(short phaseId, boolean primary)
collectionPhase
in class SimpleCollector
phaseId
- The unique phase identifierprimary
- Should this thread be used to execute any single-threaded
local operations?public final TraceLocal getCurrentTrace()
getCurrentTrace
in class ParallelCollector