Package sun.tools.attach
Class SolarisVirtualMachine
java.lang.Object
com.sun.tools.attach.VirtualMachine
sun.tools.attach.HotSpotVirtualMachine
sun.tools.attach.SolarisVirtualMachine
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSolarisVirtualMachine
(AttachProvider provider, String vmid) Attaches to the target VM -
Method Summary
Modifier and TypeMethodDescription(package private) static void
checkPermissions
(String path) (package private) static void
close
(int fd) private File
createAttachFile
(int pid) void
detach()
Detach from the target VM(package private) static int
(package private) InputStream
Execute the given command in the target VM.(package private) static int
private int
openDoor
(int pid) (package private) static int
read
(int fd, byte[] buf, int off, int buflen) (package private) static void
sigquit
(int pid) Methods inherited from class sun.tools.attach.HotSpotVirtualMachine
attachTimeout, dumpHeap, executeJCmd, getAgentProperties, getSystemProperties, heapHisto, loadAgent, loadAgentLibrary, loadAgentPath, localDataDump, printFlag, readInt, remoteDataDump, setFlag
Methods inherited from class com.sun.tools.attach.VirtualMachine
attach, attach, equals, hashCode, id, list, loadAgent, loadAgentLibrary, loadAgentPath, provider, toString
-
Field Details
-
tmpdir
- See Also:
-
fd
private int fd
-
-
Constructor Details
-
SolarisVirtualMachine
public SolarisVirtualMachine(AttachProvider provider, String vmid) throws AttachNotSupportedException, IOException Attaches to the target VM
-
-
Method Details
-
detach
Detach from the target VM- Specified by:
detach
in classVirtualMachine
- Throws:
IOException
- If an I/O error occurs
-
execute
Execute the given command in the target VM.- Specified by:
execute
in classHotSpotVirtualMachine
- Throws:
AgentLoadException
IOException
-
openDoor
- Throws:
IOException
-
createAttachFile
- Throws:
IOException
-
open
- Throws:
IOException
-
close
- Throws:
IOException
-
read
- Throws:
IOException
-
checkPermissions
- Throws:
IOException
-
sigquit
- Throws:
IOException
-
enqueue
- Throws:
IOException
-