public class SolarisVirtualMachine extends HotSpotVirtualMachine
| Modifier and Type | Class and Description |
|---|---|
private class |
SolarisVirtualMachine.SocketInputStream |
| Modifier and Type | Field and Description |
|---|---|
private int |
fd |
private static java.lang.String |
tmpdir |
| Constructor and Description |
|---|
SolarisVirtualMachine(AttachProvider provider,
java.lang.String vmid)
Attaches to the target VM
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
checkPermissions(java.lang.String path) |
(package private) static void |
close(int fd) |
private java.io.File |
createAttachFile(int pid) |
void |
detach()
Detach from the target VM
|
(package private) static int |
enqueue(int fd,
java.lang.String cmd,
java.lang.Object... args) |
(package private) java.io.InputStream |
execute(java.lang.String cmd,
java.lang.Object... args)
Execute the given command in the target VM.
|
(package private) static int |
open(java.lang.String path) |
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) |
attachTimeout, dumpHeap, executeJCmd, getAgentProperties, getSystemProperties, heapHisto, loadAgent, loadAgentLibrary, loadAgentPath, localDataDump, printFlag, readInt, remoteDataDump, setFlagattach, attach, equals, hashCode, id, list, loadAgent, loadAgentLibrary, loadAgentPath, provider, toStringprivate static final java.lang.String tmpdir
private int fd
public SolarisVirtualMachine(AttachProvider provider, java.lang.String vmid) throws AttachNotSupportedException, java.io.IOException
AttachNotSupportedExceptionjava.io.IOExceptionpublic void detach()
throws java.io.IOException
detach in class VirtualMachinejava.io.IOException - If an I/O error occursjava.io.InputStream execute(java.lang.String cmd,
java.lang.Object... args)
throws AgentLoadException,
java.io.IOException
execute in class HotSpotVirtualMachineAgentLoadExceptionjava.io.IOExceptionprivate int openDoor(int pid)
throws java.io.IOException
java.io.IOExceptionprivate java.io.File createAttachFile(int pid)
throws java.io.IOException
java.io.IOExceptionstatic int open(java.lang.String path)
throws java.io.IOException
java.io.IOExceptionstatic void close(int fd)
throws java.io.IOException
java.io.IOExceptionstatic int read(int fd,
byte[] buf,
int off,
int buflen)
throws java.io.IOException
java.io.IOExceptionstatic void checkPermissions(java.lang.String path)
throws java.io.IOException
java.io.IOExceptionstatic void sigquit(int pid)
throws java.io.IOException
java.io.IOExceptionstatic int enqueue(int fd,
java.lang.String cmd,
java.lang.Object... args)
throws java.io.IOException
java.io.IOException