Searched refs:attach (Results 26 - 50 of 115) sorted by relevance

12345

/openjdk7/jdk/make/com/sun/tools/
H A DMakefile37 SUBDIRS = attach
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/
H A DCLHSDB.java39 // At this point, if pidText != null we are supposed to attach to it.
42 // supposed to attach to.
66 public void attach(String pid) {
69 public void attach(String java, String core) {
80 attach(pidText);
82 attach(execPath, coreFilename);
108 System.out.println(" pid: attach to the process whose id is 'pid'");
125 // If all numbers, it is a PID to attach to
166 agent.attach(pid);
188 agent.attach(executablePat
[all...]
/openjdk7/jdk/test/com/sun/tools/attach/
H A DBasicTests.java30 import com.sun.tools.attach.*;
45 VirtualMachine vm = VirtualMachine.attach(pid);
51 String value = props.getProperty("attach.test");
53 throw new RuntimeException("attach.test property not set");
55 System.out.println(" - attach.test property set as expected");
109 vm = VirtualMachine.attach(pid);
127 vm = VirtualMachine.attach(pid);
162 VirtualMachine vm1 = VirtualMachine.attach(pid);
163 VirtualMachine vm2 = VirtualMachine.attach(pid);
/openjdk7/jdk/src/share/classes/com/sun/jdi/connect/spi/
H A DTransportService.java69 * to a target VM. This is done by invoking the {@link #attach}
119 * @see #attach(String,long,long)
143 * @see #attach(String,long,long)
176 * If this transport service supports an attach timeout,
180 * does not support an attach timeout, or if <tt>attachTimeout</tt>
181 * is specified as zero then attach without any timeout.
212 * attach timeout or handshake timeout is negative.
216 public abstract Connection attach(String address, long attachTimeout, method in class:TransportService
/openjdk7/jdk/src/share/classes/com/sun/tools/attach/
H A DVirtualMachine.java26 package com.sun.tools.attach;
28 import com.sun.tools.attach.spi.AttachProvider;
43 * written in the Java Language might attach to a running application and load its
46 * <p> A VirtualMachine is obtained by invoking the {@link #attach(String) attach} method
51 * {@link #attach(VirtualMachineDescriptor) attach} method with a {@link
52 * com.sun.tools.attach.VirtualMachineDescriptor VirtualMachineDescriptor} obtained
76 * // attach to target VM
77 * VirtualMachine vm = VirtualMachine.attach("217
200 public static VirtualMachine attach(String id) method in class:VirtualMachine
252 public static VirtualMachine attach(VirtualMachineDescriptor vmd) method in class:VirtualMachine
[all...]
H A DVirtualMachineDescriptor.java26 package com.sun.tools.attach;
28 import com.sun.tools.attach.spi.AttachProvider;
36 * com.sun.tools.attach.spi.AttachProvider AttachProvider} that should be used
37 * when attempting to attach to the virtual machine. The identifier is
51 * invoking the {@link com.sun.tools.attach.VirtualMachine#list VirtualMachine.list()}
54 * com.sun.tools.attach.spi.AttachProvider attach providers}.
69 * @param provider The AttachProvider to attach to the Java virtual machine.
106 * @param provider The AttachProvider to attach to the Java virtual machine.
/openjdk7/jdk/src/windows/classes/sun/tools/attach/
H A DWindowsAttachProvider.java25 package sun.tools.attach;
27 import com.sun.tools.attach.VirtualMachine;
28 import com.sun.tools.attach.VirtualMachineDescriptor;
29 import com.sun.tools.attach.AttachNotSupportedException;
142 // then we attempt to attach. If we succeed then we have a 6.0+ VM.
175 System.loadLibrary("attach");
/openjdk7/jdk/test/com/sun/jdi/connect/spi/
H A DNullTransportService.java44 public Connection attach(String address, long attachTimeout, method in class:NullTransportService
/openjdk7/jdk/src/share/classes/sun/misc/
H A DPerf.java34 * The Perf class provides the ability to attach to an instrumentation
116 * be used to attach to the instrumentation buffer provided by this Java
131 * @see #attach
148 * This method will attach to the instrumentation buffer for the
171 * The attach mode specifies the access permissions requested for the
187 * @param mode a string indicating the attach mode.
196 public ByteBuffer attach(int lvmid, String mode) method in class:Perf
214 * This method behaves just as the <code>attach(int lvmid, String mode)
223 * @param mode a string indicating the attach mode.
232 public ByteBuffer attach(Strin method in class:Perf
326 private native ByteBuffer attach(String user, int lvmid, int mode) method in class:Perf
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DDebugger.java43 public void attach(int processID) throws DebuggerException; method in interface:Debugger
50 public void attach(String executableName, String coreFileName) method in interface:Debugger
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DSocketAttachingConnector.java79 * arguments and attach to the target VM.
82 attach(Map<String,? extends Connector.Argument> arguments) method in class:SocketAttachingConnector
90 return super.attach(address, arguments);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DMimeMultipartParser.java115 PartAttachment attach = new PartAttachment(part);
116 attachments.put(attach.getContentId(), attach);
133 Attachment attach = attachments.get(contentId);
134 if (attach == null) {
136 attach = new PartAttachment(part);
137 attachments.put(contentId, attach);
139 return attach;
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DLocalVirtualMachine.java33 import com.sun.tools.attach.VirtualMachine;
34 import com.sun.tools.attach.VirtualMachineDescriptor;
35 import com.sun.tools.attach.AgentInitializationException;
36 import com.sun.tools.attach.AgentLoadException;
37 import com.sun.tools.attach.AttachNotSupportedException;
97 "\" does not support dynamic attach.");
176 VirtualMachine vm = VirtualMachine.attach(vmd);
210 VirtualMachine vm = VirtualMachine.attach(name);
236 vm = VirtualMachine.attach(name);
/openjdk7/jdk/src/share/classes/sun/tools/attach/
H A DHotSpotVirtualMachine.java26 package sun.tools.attach;
28 import com.sun.tools.attach.VirtualMachine;
29 import com.sun.tools.attach.AgentLoadException;
30 import com.sun.tools.attach.AgentInitializationException;
31 import com.sun.tools.attach.spi.AttachProvider;
39 * The HotSpot implementation of com.sun.tools.attach.VirtualMachine.
260 // -- attach timeout support
266 * Return attach timeout based on the value of the sun.tools.attach.attachTimeout
276 System.getProperty("sun.tools.attach
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jinfo/
H A DJInfo.java33 import com.sun.tools.attach.VirtualMachine;
34 import sun.tools.attach.HotSpotVirtualMachine;
38 * and decides if the command should be satisifed using the VM attach mechanism
39 * or an SA tool. At this time the only option that uses the VM attach
62 // do not use SA, use attach-on-demand
116 VirtualMachine vm = attach(pid);
145 // Attach to <pid>, exiting if we fail to attach
146 private static VirtualMachine attach(String pid) { method in class:JInfo
148 return VirtualMachine.attach(pid);
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/
H A DBsdVirtualMachine.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;
69 // attach mechanism in the target VM by sending it a QUIT signal.
78 // give the target VM time to start the attach mechanism
300 System.loadLibrary("attach");
H A DSolarisVirtualMachine.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;
67 // found it might mean that the attach mechanism isn't started in the
75 // attach file.
78 // give the target VM time to start the attach mechanism
211 // On Solaris/Linux a simple handshake is used to start the attach mechanism
245 System.loadLibrary("attach");
[all...]
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DTestManager.java49 import com.sun.tools.attach.VirtualMachine;
81 VirtualMachine.attach(pid).loadAgent(agent);
114 VirtualMachine vm = VirtualMachine.attach(pid);
125 // No JMX Connector address so attach to VM, and load
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DSelectionKey.java88 * attached via the {@link #attach attach} method and then later retrieved via
387 public final Object attach(Object ob) { method in class:SelectionKey
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DSession.java79 public boolean attach() { method in class:Session
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DTrivial.java46 sk.attach(t);
/openjdk7/jdk/src/share/classes/sun/tools/jstack/
H A DJStack.java33 import com.sun.tools.attach.VirtualMachine;
34 import com.sun.tools.attach.AttachNotSupportedException;
35 import sun.tools.attach.HotSpotVirtualMachine;
40 * obtained the thread dump from a target process using the VM attach mechanism
159 vm = VirtualMachine.attach(pid);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DPolicySubject.java61 this.attach(policy);
93 public void attach(final Policy policy) { method in class:PolicySubject
/openjdk7/jdk/src/share/classes/sun/tools/jcmd/
H A DJCmd.java4 *com.sun.tools.attach.AttachNotSupportedException
37 import com.sun.tools.attach.VirtualMachine;
38 import com.sun.tools.attach.VirtualMachineDescriptor;
39 import com.sun.tools.attach.AgentLoadException;
40 import com.sun.tools.attach.AttachNotSupportedException;
41 import sun.tools.attach.HotSpotVirtualMachine;
140 VirtualMachine vm = VirtualMachine.attach(pid);
/openjdk7/jdk/src/share/demo/jfc/Metalworks/
H A DMetalworksPrefs.java174 JComboBox attach = new JComboBox();
175 attach.addItem("Download Always");
176 attach.addItem("Ask size > 1 Meg");
177 attach.addItem("Ask size > 5 Meg");
178 attach.addItem("Ask Always");
180 attachmentPanel.add(attach);

Completed in 123 milliseconds

12345