140 Java Stand-alone Applications on z/OS Volume II
9.1 Java Virtual Machine Tool Interface (JVMTI)
The Java Virtual Machine Tool Interface (JVMTI) is a two-way native
programming interface. It replaces the Java Virtual Machine Debug Interface
(JVMDI) and JVMPI deprecated interfaces, although JVMPI-based tools
continue to work with 5.0 SDK.
JVMTI provides various facilities to users for writing tools to profile, debug, and
monitor various activities of the application through JVM. The JVMTI agent runs
in the same process executing the virtual machine, and directly communicates
with the virtual machine. Developers are strongly encouraged to use JVMTI
instead of JVMDI and JVMPI.
JVMTI agents can be loaded using one of the following options: