public class GenLOSDriver extends TreadmillDriver
| Modifier and Type | Field and Description |
|---|---|
private static boolean |
DEBUG |
protected ShortStream |
remsetStream
The additional remset stream
|
protected int |
totalRemset
total of remset Addresses
|
allTileNum, maxAddr, objectsStream, refFromImmortalStream, rootsStream, subspace, threshold, totalObjects, totalRefFromImmortal, totalRoots, totalUsedSpace, usedSpaceStreamblockSize, changed, control, CONTROL_BACKGROUND, CONTROL_LINK, CONTROL_SEPARATOR, CONTROL_UNUSED, CONTROL_USED, maxTileNum, mmtkSpace, myClass, name, server, serverSpace, streams| Constructor and Description |
|---|
GenLOSDriver(ServerInterpreter server,
String spaceName,
LargeObjectSpace lospace,
int blockSize,
int threshold,
boolean mainSpace)
Create a new driver for this collector
|
| Modifier and Type | Method and Description |
|---|---|
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. |
handleReferenceFromImmortalSpace, handleRoot, resetData, resetRootsStream, scan, transmitaddControl, 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, setTilenamesprivate static final boolean DEBUG
protected ShortStream remsetStream
protected int totalRemset
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?protected String getDriverName()
getDriverName in class TreadmillDriverprivate ShortStream createRemsetStream()
protected void setupSummaries()
transmit method.
Overrides transmitSetupSummaries of superclass to
handle additional streams.
setupSummaries in class TreadmillDriverpublic boolean handleRemsetAddress(Address addr)
addr - Remset Addresspublic void resetRemsetStream()
The remset Stream has to be reset seperately because we do not
gather data in the usual way using scan().