java - Starting JVM Tool Interface agents in the VM during live phase -


JVM Machine Interface (JVMTI) says that during the live phase, JMMTI agents can be started in VM but they have mentioned how it can be done. Does anybody try to do this before or how to do it?

You can use the method

  * @ Ultimate Agent * The path to the agent in the jar file. * * @ Param option * Agent's & lt; Code & gt; Agentman & lt; / Code & gt; Option to provide * method (& lt; code & gt; null & lt; / code & gt; may be) Com.sun.tools.attach.VirtualMachine.loadAgent (string agent, string option)  From $ {java.home} /../ lib / tools.jar 


Comments

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -