public abstract class SimpleMutator extends MutatorContext
MMTk assumes that the VM instantiates instances of MutatorContext in thread local storage (TLS) for each application thread. Accesses to this state are therefore assumed to be low-cost during mutator time.
MutatorContext
Constructor and Description |
---|
SimpleMutator() |
Modifier and Type | Method and Description |
---|---|
void |
collectionPhase(short phaseId,
boolean primary)
Perform a per-mutator collection phase.
|
addressBulkCopy, addressRead, addressTryCompareAndSwap, addressWrite, alloc, assertRemsetsFlushed, booleanBulkCopy, booleanRead, booleanWrite, byteBulkCopy, byteRead, byteWrite, charBulkCopy, charRead, charWrite, checkAllocator, deinitMutator, doubleBulkCopy, doubleRead, doubleWrite, extentBulkCopy, extentRead, extentWrite, floatBulkCopy, floatRead, floatWrite, flush, flushRememberedSets, getAllocatorFromSpace, getId, getLog, initMutator, intBulkCopy, intRead, intTryCompareAndSwap, intWrite, javaLangReferenceReadBarrier, longBulkCopy, longRead, longTryCompareAndSwap, longWrite, objectReferenceBulkCopy, objectReferenceNonHeapRead, objectReferenceNonHeapWrite, objectReferenceRead, objectReferenceTryCompareAndSwap, objectReferenceWrite, offsetBulkCopy, offsetRead, offsetWrite, postAlloc, shortBulkCopy, shortRead, shortWrite, wordBulkCopy, wordRead, wordTryCompareAndSwap, wordWrite
public SimpleMutator()
public void collectionPhase(short phaseId, boolean primary)
collectionPhase
in class MutatorContext
phaseId
- The unique phase identifierprimary
- Should this thread be used to execute any single-threaded
local operations?