|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mmtk.vm.gcspy.ServerSpace
org.jikesrvm.mm.mmtk.gcspy.ServerSpace
public class ServerSpace
ServerSpace.java This class implements the GCspy Space abstraction. Here, it largely to forward calls to the gcspy C library.
| Field Summary |
|---|
| Fields inherited from class org.mmtk.vm.gcspy.ServerSpace |
|---|
DEBUG, DEFAULT_UNUSED_STRING, driver, spaceId |
| Constructor Summary | |
|---|---|
ServerSpace(ServerInterpreter serverInterpreter,
String serverName,
String driverName,
String title,
String blockInfo,
int tileNum,
String unused,
boolean mainSpace)
Create a new GCspy Space |
|
| Method Summary | |
|---|---|
Address |
addStream(int streamId)
Add a stream to the native driver |
void |
resize(int size)
Tell the C driver to resize |
void |
sendControls(AbstractDriver space,
int tileNum)
Send all the control info for the space |
void |
setTilename(int i,
Address start,
Address end)
Tell the native driver the tile name. |
void |
setTilename(int i,
Address format,
long value)
Tell the native driver the tile name. |
void |
setTilename(int i,
String format,
long value)
Tell the native driver the tile names. |
void |
spaceInfo(Address info)
Send info for this space |
void |
startCommunication()
Start a transmission |
void |
stream(int streamId,
int len)
Start transmitting a stream. |
void |
streamByteValue(byte value)
Send a byte |
void |
streamEnd()
End of this stream |
void |
streamIntValue(int value)
Send an int |
void |
streamShortValue(short value)
Send a short |
void |
summary(int streamId,
int len)
Start to send a summary |
void |
summaryEnd()
End the summary |
void |
summaryValue(int val)
Send a summary value |
| Methods inherited from class org.mmtk.vm.gcspy.ServerSpace |
|---|
endCommunication |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerSpace(ServerInterpreter serverInterpreter,
String serverName,
String driverName,
String title,
String blockInfo,
int tileNum,
String unused,
boolean mainSpace)
serverInterpreter - The server that owns this spaceserverName - The server's namedriverName - The space driver's nametitle - Title for the spaceblockInfo - A label for each blocktileNum - Max number of tiles in this spaceunused - A label for unused blocksmainSpace - Whether this space is the main space| Method Detail |
|---|
public void setTilename(int i,
Address start,
Address end)
setTilename in class ServerSpacei - the number of the tilestart - the starting address of the tileend - the end address
public void setTilename(int i,
Address format,
long value)
setTilename in class ServerSpacei - the number of the tileformat - the name of the tile, a format stringvalue - The value for the format string
public void setTilename(int i,
String format,
long value)
setTilename in class ServerSpacei - the number of the tileformat - The name, including format tagsvalue - The value for the format stringpublic void resize(int size)
resize in class ServerSpacesize - the new driver sizepublic void startCommunication()
startCommunication in class ServerSpacepublic Address addStream(int streamId)
addStream in class ServerSpacestreamId - the stream's ID
public void stream(int streamId,
int len)
stream in class ServerSpacestreamId - The stream's IDlen - The number of items in the streampublic void streamByteValue(byte value)
streamByteValue in class ServerSpacevalue - The bytepublic void streamShortValue(short value)
streamShortValue in class ServerSpacevalue - The shortpublic void streamIntValue(int value)
streamIntValue in class ServerSpacevalue - The intpublic void streamEnd()
streamEnd in class ServerSpace
public void summary(int streamId,
int len)
summary in class ServerSpacestreamId - The stream's IDlen - The number of items to be sentpublic void summaryValue(int val)
summaryValue in class ServerSpaceval - The valuepublic void summaryEnd()
summaryEnd in class ServerSpace
public void sendControls(AbstractDriver space,
int tileNum)
sendControls in class ServerSpacespace - The GCspy driver for this spacetileNum - The number of tilespublic void spaceInfo(Address info)
spaceInfo in class ServerSpaceinfo - A pointer to the information (held as C string)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||