...
The JVMTI works by using agents that communicate with the running JVM. These agents are usually loaded at JVM startup via one of the command line options, -agentlib
or -agentpath
.
Code Block | ||
---|---|---|
| ||
// "libname" is the name of the library to load, or an absolute library path // "options" are passed to the agent on start-up ${JDK_PATH}/bin/java -agentlib:libname=options ApplicationName |
...