| Package | Description | 
|---|---|
| com.sun.tools.attach | Provides the API to attach to a JavaTM
 virtual machine. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | VirtualMachine. loadAgent(String agent)Loads an agent. | 
| abstract void | VirtualMachine. loadAgent(String agent,
         String options)Loads an agent. | 
| void | VirtualMachine. loadAgentLibrary(String agentLibrary)Loads an agent library. | 
| abstract void | VirtualMachine. loadAgentLibrary(String agentLibrary,
                String options)Loads an agent library. | 
| void | VirtualMachine. loadAgentPath(String agentPath)Load a native agent library by full pathname. | 
| abstract void | VirtualMachine. loadAgentPath(String agentPath,
             String options)Load a native agent library by full pathname. | 
 Copyright © 2005, 2025, Oracle and/or its affiliates.  All rights reserved.