Q
qabi01
The new JDK 6 instrumentation API mentions the possiblity for "Starting
Agents After VM Startup".
Unfortunately it isn't very specific: "The system class loader [..]
must support a mechanism to add an agent JAR file to the system class
path."
Can anybody provide me with a working example of how to bootstrap an
agent from within the VM after it has started? Is it possible to load
the agent directly and not from a jar file in the filesystem?
Thanks,
-dennis
Agents After VM Startup".
Unfortunately it isn't very specific: "The system class loader [..]
must support a mechanism to add an agent JAR file to the system class
path."
Can anybody provide me with a working example of how to bootstrap an
agent from within the VM after it has started? Is it possible to load
the agent directly and not from a jar file in the filesystem?
Thanks,
-dennis