public class NoGCCollector extends ParallelCollector
Specifically, this class would define NoGC collection time semantics, however, since this plan never collects, this class consists only of stubs which may be useful as a template for implementing a basic collector.
NoGC,
NoGCMutator,
CollectorContext| Modifier and Type | Field and Description |
|---|---|
protected TraceLocal |
currentTrace |
private NoGCTraceLocal |
trace |
grouplog| Constructor and Description |
|---|
NoGCCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect()
Perform a garbage collection
|
void |
collectionPhase(short phaseId,
boolean primary)
Perform a (local, i.e.per-collector) collection phase.
|
TraceLocal |
getCurrentTrace() |
private static NoGC |
global() |
parallelWorkerCount, parallelWorkerOrdinal, park, rendezvous, runallocCopy, copyCheckAllocator, getId, getLog, initCollector, postCopyprivate final NoGCTraceLocal trace
protected final TraceLocal currentTrace
public NoGCCollector()
public final void collect()
collect in class ParallelCollectorpublic final void collectionPhase(short phaseId, boolean primary)
ParallelCollectorcollectionPhase in class ParallelCollectorphaseId - The unique phase identifierprimary - Should this thread be used to execute any single-threaded
local operations?public final TraceLocal getCurrentTrace()
getCurrentTrace in class ParallelCollector