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 |
sanityLocalgrouplog| 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, concurrentCollectionPhaseparallelWorkerCount, parallelWorkerOrdinal, park, rendezvous, runallocCopy, copyCheckAllocator, getId, getLog, initCollector, postCopyprotected MSTraceLocal fullTrace
protected TraceLocal currentTrace
public MSCollector()
public void collectionPhase(short phaseId, boolean primary)
collectionPhase in class SimpleCollectorphaseId - The unique phase identifierprimary - Should this thread be used to execute any single-threaded
local operations?public final TraceLocal getCurrentTrace()
getCurrentTrace in class ParallelCollector