Class WindowsVirtualMachine
java.lang.Object
com.sun.tools.attach.VirtualMachine
sun.tools.attach.HotSpotVirtualMachine
sun.tools.attach.WindowsVirtualMachine
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class HotSpotVirtualMachine
dumpHeap, executeJCmd, getAgentProperties, getSystemProperties, heapHisto, loadAgent, loadAgentLibrary, loadAgentPath, localDataDump, printFlag, remoteDataDump, setFlagMethods inherited from class VirtualMachine
attach, attach, equals, hashCode, id, list, loadAgent, loadAgentLibrary, loadAgentPath, provider, toString
-
Constructor Details
-
WindowsVirtualMachine
public WindowsVirtualMachine(AttachProvider provider, String id) throws AttachNotSupportedException, IOException
-
-
Method Details
-
detach
Description copied from class:VirtualMachineDetach from the virtual machine. After detaching from the virtual machine, any further attempt to invoke operations on that virtual machine will cause anIOExceptionto be thrown. If an operation (such asloadAgentfor example) is in progress when this method is invoked then the behaviour is implementation dependent. In other words, it is implementation specific if the operation completes or throws IOException. If already detached from the virtual machine then invoking this method has no effect.- Specified by:
detachin classVirtualMachine- Throws:
IOException- If an I/O error occurs
-