public class AgentLoaderHotSpot extends Object
AgentLoader instead.| Constructor and Description |
|---|
AgentLoaderHotSpot() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getPid()
Gets the current jvm pid.
|
static com.sun.tools.attach.VirtualMachine |
getVirtualMachine() |
void |
loadAgent(String agentJar,
String options)
Dynamically loads a java agent.
|
public void loadAgent(String agentJar, String options)
AgentLoader.loadAgent(java.lang.String, java.lang.String) insteadagentJar - the agent jaroptions - options that will be passed back to the agent, can be nullInstrumentationpublic static com.sun.tools.attach.VirtualMachine getVirtualMachine()
public static String getPid()
Copyright © 2017 Electronic Arts Inc. All rights reserved.