使用者:DukeAnt/JVMTI

維基百科,自由的百科全書

Java虛擬機工具接口(英語:Java Virtual Machine Tool Interface,簡稱JVMTI,或者更恰當的簡稱作JVM TI)是從J2SE 5.0(Tiger)起引入的。該接口可以對運行在Java虛擬機的應用程式檢查狀態、控制運行。JVMTI旨在為需要獲取JVM狀態的開發工具,例如調試器和性能分析器,提供API(應用程式編程接口)。

JVMTI是JVM的一個原生(native)接口。JVM初始化的過程中加載了一個用CC++寫成的。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.

外部連結[編輯]