Java Virtual Machine Tools Interface

Short description: Interface for inspecting Java application state from native code

JPDA architecture

Java Virtual Machine Tool Interface (JVMTI, or more properly, JVM TI) was introduced in J2SE 5.0 (Tiger). This interface allows a program to inspect the state and to control the execution of applications running in the Java Virtual Machine (JVM). JVMTI is designed to provide an Application Programming Interface (API) for the development of tools that need access to the state of the JVM. Examples for such tools are debuggers or profilers.[1]

The JVMTI is a native interface of the JVM. A library, written in C or C++, is loaded during the initialization of the JVM.[2] 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 SE 6.

JVMTI is the lowest-level of the Java Platform Debugger Architecture.

## External links

* JVM Tool Interface
* Creating a Debugging and Profiling Agent with JVMTI
* The JVMPI Transition to JVMTI

## References

1. ↑ Nartovich, Aleksandr; Smye-Rumsby, Adam; Stimets, Paul; Weaver, George; Redbooks, I. B. M. (2007-02-14) (in en). IBM Technology for Java Virtual Machine in IBM i5/OS. IBM Redbooks. ISBN 978-0-7384-8605-5. https://books.google.com/books?id=K7i6AgAAQBAJ&dq=Java+Virtual+Machine+Tools+Interface&pg=PA142.
2. ↑ Waller, Jan (2014-12-19) (in en). Performance Benchmarking of Application Monitoring Frameworks. BoD – Books on Demand. ISBN 978-3-7357-7853-6. https://books.google.com/books?id=6uLlBQAAQBAJ&dq=Java+Virtual+Machine+Tools+Interface&pg=PA54.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Java Virtual Machine Tools Interface. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Java_Virtual_Machine_Tools_Interface&oldid=4566254"