Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Java Virtual Machine Tools Interface
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[File:JPDA architecture.png|thumb|JPDA architecture]] '''Java Virtual Machine Tool Interface''' (JVMTI, or more properly, JVM TI) was introduced in [[Java Platform, Standard Edition|J2SE]] 5.0 (''Tiger''). This [[Interface (computer science)|interface]] allows a [[computer program|program]] to inspect the state and to control the execution of applications running in the [[Java virtual machine|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 [[debugger]]s or [[profiler (computer science)|profiler]]s.<ref>{{Cite book |last1=Nartovich |first1=Aleksandr |url=https://books.google.com/books?id=K7i6AgAAQBAJ&dq=Java+Virtual+Machine+Tools+Interface&pg=PA142 |title=IBM Technology for Java Virtual Machine in IBM i5/OS |last2=Smye-Rumsby |first2=Adam |last3=Stimets |first3=Paul |last4=Weaver |first4=George |last5=Redbooks |first5=I. B. M. |date=2007-02-14 |publisher=IBM Redbooks |isbn=978-0-7384-8605-5 |language=en}}</ref> The JVMTI is a native interface of the JVM. A library, written in [[C (programming language)|C]] or [[C++]], is loaded during the initialization of the JVM.<ref>{{Cite book |last=Waller |first=Jan |url=https://books.google.com/books?id=6uLlBQAAQBAJ&dq=Java+Virtual+Machine+Tools+Interface&pg=PA54 |title=Performance Benchmarking of Application Monitoring Frameworks |date=2014-12-19 |publisher=BoD β Books on Demand |isbn=978-3-7357-7853-6 |language=en}}</ref> 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]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)