xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Java/Readme (revision 181254a7b1bdde6873432bffef2d2decc4b5c22f)
1Java - DTracing Java
2
3   These scripts trace the JVM, and require the Java hotspot provider which
4   was shipped with Java starting with version 1.6.0.
5
6   Some of these scripts measure method and object events, and require
7   the Java process to be run using the "+ExtendedDTraceProbes" flag.
8   For example,
9
10	java -XX:+ExtendedDTraceProbes classfile
11
12   The ExtendedDTraceProbes flag is not on by default to avoid the additional
13   overhead for maintaining these additional probes. When this flag is
14   enabled, the JVM may execute slightly slower than before; when the probes
15   are also enabled (especially method probes), the JVM may execute
16   significantly slower.
17
18