|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mmtk.utility.gcspy.drivers.AbstractDriver org.mmtk.utility.gcspy.drivers.TreadmillDriver org.mmtk.utility.gcspy.drivers.GenLOSDriver
public class GenLOSDriver
This class extends a simple driver for the MMTk LargeObjectSpace for Generational Collectors.
Field Summary | |
---|---|
private static boolean |
DEBUG
|
protected ShortStream |
remsetStream
The additional remset stream |
protected int |
totalRemset
total of remset Addresses |
Fields inherited from class org.mmtk.utility.gcspy.drivers.TreadmillDriver |
---|
allTileNum, maxAddr, objectsStream, refFromImmortalStream, rootsStream, subspace, threshold, totalObjects, totalRefFromImmortal, totalRoots, totalUsedSpace, usedSpaceStream |
Fields inherited from class org.mmtk.utility.gcspy.drivers.AbstractDriver |
---|
blockSize, changed, control, CONTROL_BACKGROUND, CONTROL_LINK, CONTROL_SEPARATOR, CONTROL_UNUSED, CONTROL_USED, maxTileNum, mmtkSpace, myClass, name, server, serverSpace, streams |
Constructor Summary | |
---|---|
GenLOSDriver(ServerInterpreter server,
String spaceName,
LargeObjectSpace lospace,
int blockSize,
int threshold,
boolean mainSpace)
Create a new driver for this collector |
Method Summary | |
---|---|
private ShortStream |
createRemsetStream()
|
protected String |
getDriverName()
Get the name of this driver type. |
boolean |
handleRemsetAddress(Address addr)
Handle a remset address. |
void |
resetRemsetStream()
Reset the remset Stream. |
protected void |
setupSummaries()
Setup summaries part of the transmit method. |
Methods inherited from class org.mmtk.utility.gcspy.drivers.TreadmillDriver |
---|
handleReferenceFromImmortalSpace, handleRoot, resetData, resetRootsStream, scan, transmit |
Methods inherited from class org.mmtk.utility.gcspy.drivers.AbstractDriver |
---|
addControl, addStream, controlIsBackground, controlIsSeparator, controlIsUnused, controlIsUsed, controlValues, countTileNum, countTileNum, createServerSpace, createSubspace, getControl, getMaxTileNum, getServerSpace, initControl, initControls, isConnected, maxObjectsPerBlock, scan, scan, scan, send, setControl, setRange, setRange, setSpaceInfo, setTilenames |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final boolean DEBUG
protected ShortStream remsetStream
protected int totalRemset
Constructor Detail |
---|
public GenLOSDriver(ServerInterpreter server, String spaceName, LargeObjectSpace lospace, int blockSize, int threshold, boolean mainSpace)
server
- The name of the GCspy server that owns this spacespaceName
- The name of this driverlospace
- the large object space for this allocatorblockSize
- The tile sizethreshold
- the size threshold of the LOSmainSpace
- Is this the main space?Method Detail |
---|
protected String getDriverName()
getDriverName
in class TreadmillDriver
private ShortStream createRemsetStream()
protected void setupSummaries()
transmit
method.
Overrides transmitSetupSummaries
of superclass to
handle additional streams.
setupSummaries
in class TreadmillDriver
public boolean handleRemsetAddress(Address addr)
addr
- Remset Address
public void resetRemsetStream()
The remset Stream has to be reset seperately because we do not
gather data in the usual way using scan()
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |