public class JProbePrms extends BasePrms
JProbeDescription.
The number of instances is gated by names. The remaining parameters
have the indicated default values. If fewer non-default values than names
are given for these parameters, the remaining instances will use the last
value in the list. See $JTESTS/hydra/hydra.txt for more details.
When JProbe is enabled on a VM, hydra launches it via
$JPROBE/bin/jplauncher. For more information on hydra's JProbe
configuration settings, see Appendix B of a JProbe manual such as
$JPROBE/doc/JProbeProfilerGuide.pdf.
JProbe cannot be used to launch VMs with working directories that are
different from that of the launcher. For example, hydra clients launched
with JProbe must not set HostDescription#userDirs.
| Modifier and Type | Field and Description |
|---|---|
static Long |
filters
(String(s) or List of String(s)) Sets the jprobe filters to control
what is monitored.
|
static Long |
finalSnapshot
(boolean(s)) Whether to take a final snapshot on exit.
|
static Long |
function
(String(s)) Sets the jprobe function to perform.
|
static Long |
garbageKeep
(boolean(s)) Whether to include garbage-collected objects in heap snapshots.
|
static Long |
measurement
(String(s)) Type of measurement to make, either "elapsed" or "cpu (default)".
|
static Long |
monitor
(boolean(s)) Whether the user will monitor the run.
|
static Long |
names
(String(s))
Logical names of the jprobe descriptions.
|
static Long |
recordFromStart
(boolean(s)) Whether to collect data from the start.
|
static Long |
trackObjects
(boolean(s)) Whether object allocation should be tracked for
the run.
|
static Long |
triggers
(String(s) or List of String(s)) Sets the jprobe triggers to control
when monitoring occurs.
|
static Long |
useDeepTraces
(boolean(s)) Sets whether to gather full stack traces.
|
| Constructor and Description |
|---|
JProbePrms() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static Long names
The special logical name "none" can be used to avoid jprobe. For
example, if a test configuration contains two gemfire systems,
gemfire1 and gemfire2, and only
gemfire1 is to be probed, set
hydra.GemFirePrms#jprobeNames to probe1 none,
where probe1 is the logical name of the desired jprobe
configuration.
public static Long function
-jp_function for more information.
For example, "performance" or "memory".public static Long measurement
public static Long filters
-jp_collect_data for more information.
This parameter must be enclosed in quotes in a hydra configuration file.
For example, use * to profile all methods.public static Long triggers
-jp_trigger for more information.
For example, "hydra.RemoteTestModule.profile():ME:SH:snapshot" will take
a snapshot on entry to the method that causes a hydra client to exit.public static Long useDeepTraces
-jp_use_deep_traces for more information.public static Long garbageKeep
-jp_garbage_keep for more information.public static Long recordFromStart
-jp_record_from_start for more information.public static Long finalSnapshot
-jp_final_snapshot for more information.public static Long monitor
-jp_socket for more information.public static Long trackObjects
-jp_track_objects for more
information.public static void main(String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.