|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmtk.utility.gcspy.GCspy
public class GCspy
This class implements collector-independent GCspy functionality to start the GCspy server. It handles command-line parameters for port number, whether the VM should wait for a GCspy client to connect, and tile size. Most importantly, it calls the Plan's startGCspyServer method which creates a new ServerInterpreter, and adds events and space drivers.
| Field Summary | |
|---|---|
static ServerInterpreter |
server
|
static Util |
util
Class variables |
| Constructor Summary | |
|---|---|
GCspy()
|
|
| Method Summary | |
|---|---|
static void |
createOptions()
Initialization |
static int |
getGCspyPort()
Get the number of the port that GCspy communicates on |
static boolean |
getGCspyWait()
Should the VM wait for GCspy to connect? |
static void |
postBoot()
The boot method is called by the runtime immediately after command-line arguments are available. |
static void |
startGCspyServer()
Start the GCspy server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Util util
public static final ServerInterpreter server
| Constructor Detail |
|---|
public GCspy()
| Method Detail |
|---|
public static void createOptions()
public static void postBoot()
public static int getGCspyPort()
public static boolean getGCspyWait()
public static void startGCspyServer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||