public final class MarkCompactLocal extends BumpPointer
BumpPointer
,
MarkCompactSpace
allowScanning, BLOCK_MASK, cursor, DATA_END_OFFSET, DATA_START_OFFSET, initialRegion, LOG_BLOCK_SIZE, MAX_DATA_START_OFFSET, MINIMUM_DATA_SIZE, NEXT_REGION_OFFSET, region, REGION_LIMIT_OFFSET, space
Constructor and Description |
---|
MarkCompactLocal(MarkCompactSpace space)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flush this thread-local component in preparation for the mutator thread
to die.
|
protected Extent |
maximumRegionSize()
Maximum size of a single region.
|
private MarkCompactSpace |
mcSpace() |
void |
prepare()
Prepare for collection: update the metadata for the current region, and flush
this bump-pointer's allocations to the global page list.
|
alloc, allocSlowOnce, checkRegionMetadata, clearNextRegion, gcspyGatherData, gcspyGatherData, getCursor, getDataEnd, getDataStart, getNextRegion, getRegionLimit, getSpace, isRegionAligned, linearScan, rebind, reset, reusePages, setDataEnd, setNextRegion, setRegionLimit, show, updateLimit
alignAllocation, alignAllocation, alignAllocationNoFill, allocSlow, allocSlowInline, determineCollectionAttempts, fillAlignmentGap, getMaximumAlignedSize, getMaximumAlignedSize
public MarkCompactLocal(MarkCompactSpace space)
space
- The space to bump point into.private MarkCompactSpace mcSpace()
public void prepare()
public void flush()
protected Extent maximumRegionSize()
BumpPointer
maximumRegionSize
in class BumpPointer