public class CMSCollector extends ConcurrentCollector
Modifier and Type | Field and Description |
---|---|
protected CMSTraceLocal |
trace
Instance fields
|
sanityLocal
group
log
Constructor and Description |
---|
CMSCollector()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
collectionPhase(short phaseId,
boolean primary)
Perform a (local, i.e.per-collector) collection phase.
|
protected boolean |
concurrentTraceComplete() |
TraceLocal |
getCurrentTrace() |
private static CMS |
global() |
collect, concurrentCollect, concurrentCollectionPhase, run
parallelWorkerCount, parallelWorkerOrdinal, park, rendezvous
allocCopy, copyCheckAllocator, getId, getLog, initCollector, postCopy
protected final CMSTraceLocal trace
public CMSCollector()
public void collectionPhase(short phaseId, boolean primary)
collectionPhase
in class ConcurrentCollector
phaseId
- The unique phase identifierprimary
- Should this thread be used to execute any single-threaded
local operations?protected boolean concurrentTraceComplete()
concurrentTraceComplete
in class ConcurrentCollector
public final TraceLocal getCurrentTrace()
getCurrentTrace
in class ParallelCollector