sun.tools.attach
Class WindowsVirtualMachine
java.lang.Object
com.sun.tools.attach.VirtualMachine
sun.tools.attach.HotSpotVirtualMachine
sun.tools.attach.WindowsVirtualMachine
public final class WindowsVirtualMachine
- extends HotSpotVirtualMachine
Method Summary |
void |
detach()
Detach from the virtual machine. |
Methods inherited from class sun.tools.attach.HotSpotVirtualMachine |
dumpHeap, getAgentProperties, getSystemProperties, heapHisto, loadAgent, loadAgentLibrary, loadAgentPath, localDataDump, printFlag, remoteDataDump, setFlag |
Methods inherited from class com.sun.tools.attach.VirtualMachine |
attach, attach, equals, hashCode, id, list, loadAgent, loadAgentLibrary, loadAgentPath, provider, toString |
WindowsVirtualMachine
public WindowsVirtualMachine(AttachProvider provider,
String id)
throws IOException
- Throws:
IOException
detach
public void detach()
throws IOException
- Description copied from class:
VirtualMachine
- Detach from the virtual machine.
After detaching from the virtual machine, any further attempt to invoke
operations on that virtual machine will cause an
IOException
to be thrown. If an operation (such as loadAgent
for 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:
detach
in class VirtualMachine
- Throws:
IOException
- If an I/O error occurs
Copyright © 2007-2013. All Rights Reserved.