JVM TI: How to Make a 'Plugin' for the Virtual Machine
summary
Covers the JVM Tool Interface (JVM TI) as the standard API for building tools — profilers, debuggers and diagnostic utilities — that interact with the JVM (including HotSpot). Explains when JVM TI is useful even for regular Java applications, reviews features added in Java 9 and 11, and walks through writing a custom tool. Presents practical C/C++ implementation issues, JVM-specific quirks and bugs, and concrete examples of how to diagnose and work around them.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 4:43What is JVM TI
- 7:17Exception handling with agents
- 13:01Exception bytecode analysis
- 16:15JVM event logging
- 24:09Stack trace troubleshooting
- 32:06Dynamic agent attachment
- 35:18Java module system issues
- 39:25Allocation profiling
- 43:24Summary and use cases
- 44:27Q&A
related talks
44mJIT Me Baby One More Time
59mAn Introduction to JVM Performance
58mTaming the fantastic beast of the Java Virtual Machine
41mAn Introduction to JVM Performance
49mJPoint 2023 TechRadar: Java Virtual Machine
43mThe Virtual Machine Under the Hood
49mAn Introduction to JVM Performance
55mWhat's Going On in Java?
