| Ctrl-Brk prompt |
environment variable |
java argument |
Java program |
servlet HTML interface button |
|
| enable Jinsight |
(no longer used) |
-XrunjinsightPA
(arg is required) |
|||
| trace file name | JINSIGHT_TRACEFILE_NAME= <filename> |
(no longer used) |
|||
| trace methods | tm | JINSIGHT_TRACE_METHODS= anyvalue |
(no longer used) |
com.ibm.jinsight.tracing. JinsightCtrl.startTracingMethods(); |
Start tracing methods |
| stop tracing methods | sm | com.ibm.jinsight.tracing. JinsightCtrl.stopTracingMethods(); |
Stop tracing methods | ||
| trace population | tp (not operational) |
JINSIGHT_TRACE_POPULATION= anyvalue (not operational) |
(no longer used) |
||
| stop tracing population | sp (not operational) |
||||
| stop (all) tracing | S | ||||
| dump population | dp | com.ibm.jinsight.tracing. JinsightCtrl.dumpPopulation(); |
Dump objects | ||
| dump population+refs | dr | com.ibm.jinsight.tracing. JinsightCtrl.dumpReferences(); |
Dump objects & references |
||
| exit ctrlbrk handler | <RET> | ||||
| end all tracing and close trace file |
q (new meaning) |
com.ibm.jinsight.tracing. JinsightCtrl.quit(); |
End all tracing | ||
| force garbage collection | g | com.ibm.jinsight.tracing. JinsightCtrl.forceGc(); |
Force garbage collection |
||
| user event | u <string> | ||||
| buffer size | JINSIGHT_SEGMENT=
<decimal_number> JINSIGHT_SEGMENT_SIZE= <hex_number> |
(no longer used) |
|||
| print system state (no longer used) |
(no longer used) |
First you must specify -XrunjinsightPA as an argument to the java command, to activate the Jinsight2.1 profiling agent itself and enable Jinsight functions. Then there are four ways on Windows to specify the tracing controls:
Here's what is meant by each of these tracing controls: