用户:DukeAnt/JVMTI
Java虚拟机工具接口(英语:Java Virtual Machine Tool Interface,简称JVMTI,或者更恰当的简称作JVM TI)是从J2SE 5.0(Tiger)起引入的。该接口可以对运行在Java虚拟机的应用程序检查状态、控制运行。JVMTI旨在为需要获取JVM状态的开发工具,例如调试器和性能分析器,提供API(应用程序编程接口)。
JVMTI是JVM的一个原生(native)接口。JVM初始化的过程中加载了一个用C或C++写成的库。The library has access to the JVM state by calling JVMTI and JNI (Java Native Interface) functions and can register to receive JVMTI events using event handler functions that are called by the JVM when such an event occurs.
JVMTI was defined through the Java Community Process by JSR-163, the specification for the Java Platform Profiling Architecture. The JVMTI replaces the JVMPI (Java Virtual Machine Profiling Interface) and the JVMDI (Java Virtual Machine Debug Interface). The JVMPI and the JVMDI are declared as being deprecated in J2SE 5.0 and were removed in Java SE6.
JVMTI is the lowest level of the Java Platform Debugger Architecture.