The
JDK 5.0 (Tiger)
and
JDK 6.0 (Mustang)
binary images include the source and binaries of quite a few
demo
Java Virtual Machine Tool Interface (JVM TI)
agents (native libraries) in the demo/jvmti directory.
The more curious people might be interested in the
detailed description
in my blogs.sun.com site on
using VM agents.
Certainly writing VM Agents is not something that we want...