public final class LargeObjectLocal extends LargeObjectAllocator
If there are C CPUs and T TreadmillSpaces, there must be C X T instances of this class, one for each CPU, TreadmillSpace pair.
space
Constructor and Description |
---|
LargeObjectLocal(BaseLargeObjectSpace space)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
gcspyGatherData(int event,
TreadmillDriver losDriver)
Gather data for GCSpy from the nursery
|
void |
gcspyGatherData(int event,
TreadmillDriver losDriver,
boolean tospace)
Gather data for GCSpy for an older space
|
void |
prepare(boolean fullHeap)
Prepare for a collection.
|
void |
release(boolean fullHeap)
Finish up after a collection.
|
alloc, allocSlowOnce, getSpace, show
alignAllocation, alignAllocation, alignAllocationNoFill, allocSlow, allocSlowInline, determineCollectionAttempts, fillAlignmentGap, getMaximumAlignedSize, getMaximumAlignedSize
public LargeObjectLocal(BaseLargeObjectSpace space)
space
- The treadmill space to which this thread instance is
bound.public void prepare(boolean fullHeap)
fullHeap
- whether the collection will be full heappublic void release(boolean fullHeap)
fullHeap
- whether the collection was full heappublic void gcspyGatherData(int event, TreadmillDriver losDriver)
event
- the gc eventlosDriver
- the GCSpy space driverpublic void gcspyGatherData(int event, TreadmillDriver losDriver, boolean tospace)
event
- the gc eventlosDriver
- the GCSpy space drivertospace
- gather from tospace?