JVM TI - JVM Tool Interface
Native libraries that use JVM TI and are loaded into the JVM via the -agentlib, -agentpath, or -Xrun (deprecated) interfaces, are called Agents.
JVM TI - load an agent at runtime
jcmd $PID JVMTI.agent_load $native_agent_pathNative agent is a shared library. (.so on Linux)
Samples
-
JVM TI hprof Agent
Removed from JDK (opens in a new tab), useful for demonstration of the capabilities of JVM TI