public final class CollectorLocal extends Object
| Modifier and Type | Field and Description |
|---|---|
private ChunkList |
chunkMap |
private Defrag |
defrag |
private ImmixSpace |
immixSpace |
| Constructor and Description |
|---|
CollectorLocal(ImmixSpace space)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
prepare(boolean majorGC)
Prepare for a collection.
|
void |
release(boolean majorGC)
Finish up after a collection.
|
private void |
resetLineMarksAndDefragStateTable(int ordinal,
short threshold) |
private void |
sweepAllBlocks(boolean majorGC) |
private final ImmixSpace immixSpace
public CollectorLocal(ImmixSpace space)
space - The mark-sweep space to which this allocator
instances is bound.public void prepare(boolean majorGC)
majorGC - whether the collection will be a full heap collectionprivate void resetLineMarksAndDefragStateTable(int ordinal, short threshold)
public void release(boolean majorGC)
majorGC - whether the collection was a full heap collectionprivate void sweepAllBlocks(boolean majorGC)