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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -