Searched refs:attach (Results 51 - 75 of 115) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/sun/tools/jmap/
H A DJMap.java33 import com.sun.tools.attach.VirtualMachine;
34 import com.sun.tools.attach.AttachNotSupportedException;
35 import sun.tools.attach.HotSpotVirtualMachine;
39 * and decides if the command should be satisifed using the VM attach mechanism
40 * or an SA tool. At this time the only option that uses the VM attach mechanism
46 // Options handled by the attach mechanism
218 VirtualMachine vm = attach(pid);
240 VirtualMachine vm = attach(pid);
293 // Attach to <pid>, existing if we fail to attach
294 private static VirtualMachine attach(Strin method in class:JMap
[all...]
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/
H A DLinuxVirtualMachine.java25 package sun.tools.attach;
27 import com.sun.tools.attach.VirtualMachine;
28 import com.sun.tools.attach.AgentLoadException;
29 import com.sun.tools.attach.AttachNotSupportedException;
30 import com.sun.tools.attach.spi.AttachProvider;
70 // attach mechanism in the target VM by sending it a QUIT signal.
94 // give the target VM time to start the attach mechanism
276 // On Solaris/Linux a simple handshake is used to start the attach mechanism
336 System.loadLibrary("attach");
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/
H A DTool.java163 agent.attach(pid);
169 agent.attach(executableName, coreFileName);
174 agent.attach(remoteServer);
/openjdk7/hotspot/agent/test/jdi/
H A Dsagclient.java75 // If all numbers, it is a PID to attach to
118 vm = myCoreConn.attach(connArgs);
120 System.err.println("ERROR: myCoreConn.attach got IO Exception:" + ee);
123 System.err.println("ERROR: myCoreConn.attach got illegal args exception:" + ee);
137 vm = myPIDConn.attach(connArgs);
139 System.err.println("ERROR: myPIDConn.attach got IO Exception:" + ee);
142 System.err.println("ERROR: myPIDConn.attach got illegal args exception:" + ee);
157 vm = myDbgSvrConn.attach(connArgs);
159 System.err.println("ERROR: myDbgSvrConn.attach got IO Exception:" + ee);
162 System.err.println("ERROR: myDbgSvrConn.attach go
[all...]
H A Dmultivm.sh30 simultaneousely. i.e, before detaching one attach another.
H A Dmultivm.java123 vm = myPIDConn.attach(connArgs);
125 System.err.println("ERROR: myPIDConn.attach got IO Exception:" + ee);
128 System.err.println("ERROR: myPIDConn.attach got illegal args exception:" + ee);
H A Dserialvm.java92 // attach, dispose, attach2, dispose2 pattern
127 vm = myPIDConn.attach(connArgs);
129 System.err.println("ERROR: myPIDConn.attach got IO Exception:" + ee);
132 System.err.println("ERROR: myPIDConn.attach got illegal args exception:" + ee);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/dummy/
H A DDummyDebugger.java49 public void attach(int processID) throws DebuggerException { method in class:DummyDebugger
52 public void attach(String executableName, String coreFileName) method in class:DummyDebugger
/openjdk7/jdk/src/share/classes/sun/management/
H A DConnectorAddressLink.java116 bb = perf.attach(vmid, "r");
166 bb = perf.attach(vmid, "r");
/openjdk7/hotspot/src/share/vm/runtime/
H A DperfMemory.hpp146 static void attach(const char* user, int vmid, PerfMemoryMode mode,
/openjdk7/jdk/test/com/sun/jdi/
H A DProcessAttachDebugger.java68 VirtualMachine vm = ac.attach(args);
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/
H A DPerfDataBuffer.java64 ByteBuffer bb = perf.attach(vmid.getLocalVmId(), vmid.getMode());
83 // re-throw the exception from the 1.4.2 attach method
91 throw new MonitorException("Could not attach to "
/openjdk7/jdk/make/docs/
H A DNON_CORE_PKGS.gmk79 ATTACH_PKGS = com.sun.tools.attach \
80 com.sun.tools.attach.spi
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DHotSpotAgent.java149 public synchronized void attach(int processID) method in class:HotSpotAgent
161 public synchronized void attach(String javaExecutableName, String coreFileName) method in class:HotSpotAgent
180 public synchronized void attach(String remoteServerID) method in class:HotSpotAgent
602 debugger.attach(pid);
604 debugger.attach(javaExecutableName, coreFileName);
606 throw new DebuggerException("Should not call attach() for startupMode == " + startupMode);
H A DHSDB.java83 System.out.println(" pid: attach to the process whose id is 'pid'");
100 // If all numbers, it is a PID to attach to
125 // At this point, if pidText != null we are supposed to attach to it.
128 // supposed to attach to.
410 attach(pidText);
412 attach(execPath, coreFilename);
436 attach(pidTextField.getText());
552 attach(execPathField.getText(), corePathField.getText());
1129 private void attach(String pidText) { method in class:HSDB
1147 // Try to attach t
1198 private void attach(final String executablePath, final String corePath) { method in class:HSDB
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/
H A DBugSpotAgent.java323 public synchronized void attach(int processID) method in class:BugSpotAgent
335 public synchronized void attach(String executableName, String coreFileName) method in class:BugSpotAgent
354 public synchronized void attach(String remoteServerID) method in class:BugSpotAgent
604 jvmdi.attach();
796 debugger.attach(pid);
798 debugger.attach(executableName, coreFileName);
800 throw new DebuggerException("Should not call attach() for startupMode == " + startupMode);
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DJvmstatCountersTest.java43 import com.sun.tools.attach.*;
145 VirtualMachine vm = VirtualMachine.attach(vmid);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DSADebugServerAttachingConnector.java80 public VirtualMachine attach(Map arguments) throws IOException, method in class:SADebugServerAttachingConnector
117 return getString("This connector allows you to attach to a Java Process via a debug server with the Serviceability Agent");
H A DSACoreAttachingConnector.java71 // security check to see whether the caller can perform attach
81 throw new SecurityException("permission denied to attach to " + corefile);
105 public VirtualMachine attach(Map arguments) throws IOException, method in class:SACoreAttachingConnector
150 return getString("This connector allows you to attach to a core file using the Serviceability Agent");
H A DSAPIDAttachingConnector.java61 // security check to see whether the caller can perform attach
74 throw new SecurityException("permission denied to attach to " + pid);
95 public VirtualMachine attach(Map arguments) throws IOException, method in class:SAPIDAttachingConnector
137 return getString("This connector allows you to attach to a Java process using the Serviceability Agent");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DPolicyScope.java52 void attach(final PolicySubject subject) { method in class:PolicyScope
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DMimePullMultipart.java110 AttachmentPart attach = new AttachmentPartImpl(part);
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6361557.java98 key.attach(null);
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DSelectorImpl.java131 k.attach(attachment);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DChildSession.java93 public boolean attach() { method in class:ChildSession
126 if (!super.attach()) {
135 //System.out.println("IO after attach: "+ inputWriter + " " + outputReader + " "+ errorReader);

Completed in 122 milliseconds

12345