Starting instrumentation agent after VM startup

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top