sandmark.util.exec
Class DumpAll
java.lang.Object
|
+--sandmark.util.exec.Overseer
|
+--sandmark.util.exec.DumpAll
- class DumpAll
- extends Overseer
Field Summary |
(package private) long |
allocCount
|
(package private) java.io.PrintWriter |
writer
|
Constructor Summary |
DumpAll(java.lang.String[] includeClasses,
java.lang.String[] excludeClasses,
java.io.PrintWriter writer,
java.lang.String[] argv)
|
Method Summary |
static void |
main(java.lang.String[] argv)
|
(package private) void |
methodEvent(java.lang.String what,
MethodCallData data)
|
void |
onMethodEntry(MethodCallData data)
Override this method if you want some action to take place
when a method is called. |
void |
onMethodExit(MethodCallData data)
Override this method if you want some action to take place
when a method is exiting. |
void |
onProgramExit(com.sun.jdi.VirtualMachine vm)
Override this method if you want some action to take place
when the program is exiting. |
static void |
printLegend(java.io.PrintWriter writer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allocCount
long allocCount
writer
java.io.PrintWriter writer
DumpAll
public DumpAll(java.lang.String[] includeClasses,
java.lang.String[] excludeClasses,
java.io.PrintWriter writer,
java.lang.String[] argv)
onMethodEntry
public void onMethodEntry(MethodCallData data)
- Description copied from class:
Overseer
- Override this method if you want some action to take place
when a method is called.
- Overrides:
onMethodEntry
in class Overseer
- Parameters:
data
- Information about which method was called,
where it's declared, who called it, etc.
onMethodExit
public void onMethodExit(MethodCallData data)
- Description copied from class:
Overseer
- Override this method if you want some action to take place
when a method is exiting.
- Overrides:
onMethodExit
in class Overseer
- Parameters:
data
- Information about which method is exiting,
where it was declared from, who called it, etc.
onProgramExit
public void onProgramExit(com.sun.jdi.VirtualMachine vm)
- Description copied from class:
Overseer
- Override this method if you want some action to take place
when the program is exiting.
- Overrides:
onProgramExit
in class Overseer
- Parameters:
vm
- A handle to the virtual machine running the program.
methodEvent
void methodEvent(java.lang.String what,
MethodCallData data)
printLegend
public static void printLegend(java.io.PrintWriter writer)
main
public static void main(java.lang.String[] argv)
throws TracingException
TracingException