|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mmtk.policy.immix.CollectorLocal
public final class CollectorLocal
This class implements unsynchronized (local) elements of an immix collector. Marking is done using both a bit in each header's object word, and a mark byte. Sweeping is performed lazily.
| Field Summary | |
|---|---|
private ChunkList |
chunkMap
|
private Defrag |
defrag
|
private ImmixSpace |
immixSpace
Instance variables |
| Constructor Summary | |
|---|---|
CollectorLocal(ImmixSpace space)
Constructor |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final ImmixSpace immixSpace
private final ChunkList chunkMap
private final Defrag defrag
| Constructor Detail |
|---|
public CollectorLocal(ImmixSpace space)
space - The mark-sweep space to which this allocator
instances is bound.| Method Detail |
|---|
public void prepare(boolean majorGC)
private void resetLineMarksAndDefragStateTable(int ordinal,
short threshold)
public void release(boolean majorGC)
private void sweepAllBlocks(boolean majorGC)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||