Searched refs:vmid (Results 1 - 25 of 46) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/rmi/dgc/
H A DLease.java38 private VMID vmid; field in class:Lease
50 * vmid may be null.
56 vmid = id;
66 return vmid;
H A DVMID.java101 VMID vmid = (VMID) obj;
102 if (!uid.equals(vmid.uid))
104 if ((addr == null) ^ (vmid.addr == null))
107 if (addr.length != vmid.addr.length)
110 if (addr[i] != vmid.addr[i])
H A DDGC.java100 * The clean call removes the 'vmid' from the reference list of
104 * thus the sequence number for the client 'vmid' needs to be
109 * @param vmid client VMID
113 void clean(ObjID[] ids, long sequenceNum, VMID vmid, boolean strong) argument
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/
H A DPerfDataBuffer.java57 * @param vmid the <em>local:</em> URI specifying the target JVM.
61 public PerfDataBuffer(VmIdentifier vmid) throws MonitorException { argument
64 ByteBuffer bb = perf.attach(vmid.getLocalVmId(), vmid.getMode());
65 createPerfDataBuffer(bb, vmid.getLocalVmId());
72 + Integer.toString(vmid.getLocalVmId());
80 createPerfDataBuffer(bb, vmid.getLocalVmId());
84 throw new MonitorException(vmid.getLocalVmId() + " not found",
88 + vmid.getLocalVmId(), e2);
92 + vmid
[all...]
H A DMonitoredHostProvider.java65 public MonitoredVm getMonitoredVm(VmIdentifier vmid) argument
67 return getMonitoredVm(vmid, DEFAULT_POLLING_INTERVAL);
73 public MonitoredVm getMonitoredVm(VmIdentifier vmid, int interval) argument
76 VmIdentifier nvmid = hostId.resolve(vmid);
85 + vmid.toString(), e);
156 * @param active a set of Integer objects containing the vmid of
158 * @param started a set of Integer objects containing the vmid of
160 * @param terminated a set of Integer objects containing the vmid of
201 Integer vmid = (Integer)i.next();
202 if (!lastActiveVms.contains(vmid)) {
[all...]
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/file/
H A DFileMonitoredVm.java51 * @param vmid the vm identifier referring to the file
54 public FileMonitoredVm(VmIdentifier vmid, int interval) argument
56 super(vmid, interval);
57 this.pdb = new PerfDataBuffer(vmid);
H A DMonitoredHostProvider.java60 public MonitoredVm getMonitoredVm(VmIdentifier vmid) argument
62 return getMonitoredVm(vmid, DEFAULT_POLLING_INTERVAL);
71 public MonitoredVm getMonitoredVm(VmIdentifier vmid, int interval) argument
73 // don't attempt to resolve 'file:' based vmid
74 return new FileMonitoredVm(vmid, interval);
H A DPerfDataBuffer.java51 * @param vmid the <em>file:</em> URI to the instrumentation buffer file
55 public PerfDataBuffer(VmIdentifier vmid) throws MonitorException { argument
56 File f = new File(vmid.getURI());
57 String mode = vmid.getMode();
75 throw new MonitorException("Could not find " + vmid.toString());
77 throw new MonitorException("Could not read " + vmid.toString());
/openjdk7/jdk/src/share/classes/sun/rmi/transport/
H A DDGCImpl.java106 * The dirty call adds the VMID "vmid" to the set of clients
109 * the VMID "vmid" is null, a VMID will be generated on the
119 VMID vmid = lease.getVMID();
127 dgcLog.log(Log.VERBOSE, "vmid = " + vmid);
131 if (vmid == null) {
132 vmid = new VMID();
141 dgcLog.log(Log.BRIEF, " assigning vmid " + vmid +
146 lease = new Lease(vmid, duratio
188 clean(ObjID[] ids, long sequenceNum, VMID vmid, boolean strong) argument
204 registerTarget(VMID vmid, Target target) argument
218 unregisterTarget(VMID vmid, Target target) argument
314 VMID vmid; field in class:DGCImpl.LeaseInfo
318 LeaseInfo(VMID vmid, long lease) argument
[all...]
H A DTarget.java243 synchronized void referenced(long sequenceNum, VMID vmid) { argument
244 // check sequence number for vmid
245 SequenceEntry entry = sequenceTable.get(vmid);
247 sequenceTable.put(vmid, new SequenceEntry(sequenceNum));
255 if (!refSet.contains(vmid)) {
268 DGCImpl.dgcLog.log(Log.VERBOSE, "add to dirty set: " + vmid);
271 refSet.addElement(vmid);
273 DGCImpl.getDGCImpl().registerTarget(vmid, this);
281 synchronized void unreferenced(long sequenceNum, VMID vmid, boolean strong) argument
283 // check sequence number for vmid
306 refSetRemove(VMID vmid) argument
444 vmidDead(VMID vmid) argument
[all...]
/openjdk7/jdk/test/java/rmi/dgc/VMID/
H A DCheckVMID.java50 VMID vmid = new VMID();
51 System.err.println("vmid = " + vmid);
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DLocalVirtualMachine.java52 private int vmid; field in class:LocalVirtualMachine
55 public LocalVirtualMachine(int vmid, String commandLine, boolean canAttach, String connectorAddress) { argument
56 this.vmid = vmid;
77 public int vmid() { method in class:LocalVirtualMachine
78 return vmid;
96 throw new IOException("This virtual machine \"" + vmid +
142 for (Object vmid: vms) {
143 if (vmid instanceof Integer) {
144 int pid = ((Integer) vmid)
197 getLocalVirtualMachine(int vmid) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/
H A DAbstractMonitoredVm.java49 protected VmIdentifier vmid; field in class:AbstractMonitoredVm
65 * @param vmid the VmIdentifier for the target
68 public AbstractMonitoredVm(VmIdentifier vmid, int interval) argument
70 this.vmid = vmid;
78 return vmid;
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/
H A DHostIdentifier.java233 * @param vmid the VmIdentifier use to construct the HostIdentifier.
235 public HostIdentifier(VmIdentifier vmid) { argument
241 String scheme = vmid.getScheme();
242 String host = vmid.getHost();
243 String authority = vmid.getAuthority();
281 int port = vmid.getPort();
286 String path = vmid.getPath();
291 String query = vmid.getQuery();
296 String frag = vmid.getFragment();
330 * @param vmid th
336 resolve(VmIdentifier vmid) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/
H A DBsdAttachProvider.java54 public VirtualMachine attachVirtualMachine(String vmid) argument
61 testAttachable(vmid);
63 return new BsdVirtualMachine(this, vmid);
H A DLinuxAttachProvider.java54 public VirtualMachine attachVirtualMachine(String vmid) argument
61 testAttachable(vmid);
63 return new LinuxVirtualMachine(this, vmid);
H A DSolarisAttachProvider.java50 public VirtualMachine attachVirtualMachine(String vmid) argument
57 testAttachable(vmid);
59 return new SolarisVirtualMachine(this, vmid);
/openjdk7/jdk/src/share/classes/sun/tools/attach/
H A DHotSpotAttachProvider.java95 for (Object vmid: vms) {
96 if (vmid instanceof Integer) {
97 String pid = vmid.toString();
142 VmIdentifier vmid = new VmIdentifier(id);
143 MonitoredHost host = MonitoredHost.getMonitoredHost(vmid);
144 mvm = host.getMonitoredVm(vmid);
/openjdk7/jdk/test/sun/jvmstat/perfdata/PrologSanity/
H A DPrologSizeSanityCheck.java42 VmIdentifier vmid = new VmIdentifier("0");
44 MonitoredVm self = localhost.getMonitoredVm(vmid);
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/remote/
H A DRemoteHost.java44 * identified by <code>vmid</code>.
46 * @param vmid The identifier for the target virtual machine.
56 RemoteVm attachVm(int vmid, String mode) throws RemoteException, argument
61 * identified by <code>vmid</code>.
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/rmi/
H A DMonitoredHostProvider.java131 public MonitoredVm getMonitoredVm(VmIdentifier vmid) argument
133 return getMonitoredVm(vmid, DEFAULT_POLLING_INTERVAL);
139 public MonitoredVm getMonitoredVm(VmIdentifier vmid, int interval) argument
143 nvmid = hostId.resolve(vmid);
144 RemoteVm rvm = remoteHost.attachVm(vmid.getLocalVmId(),
145 vmid.getMode());
161 + vmid.toString(), e);
320 Integer vmid = (Integer)i.next();
321 if (!lastActiveVms.contains(vmid)) {
323 startedVms.add(vmid);
[all...]
/openjdk7/jdk/src/share/classes/sun/management/
H A DConnectorAddressLink.java103 * @param vmid an identifier that uniquely identifies a local Java virtual
112 public static String importFrom(int vmid) throws IOException { argument
116 bb = perf.attach(vmid, "r");
153 * @param vmid an identifier that uniquely identifies a local Java virtual
162 public static Map<String, String> importRemoteFrom(int vmid) throws IOException { argument
166 bb = perf.attach(vmid, "r");
/openjdk7/hotspot/src/os/solaris/vm/
H A DperfMemory_solaris.cpp284 // return the name of the user that owns the process identified by vmid.
287 // store file for the specified vmid and returns the user name, as determined
292 static char* get_user_name_slow(int vmid, TRAPS) { argument
295 if (kill(vmid, 0) == OS_ERR) {
318 // open the directory and check if the file for the given vmid exists.
362 if (filename_to_pid(udentry->d_name) == vmid) {
413 // return the name of the user that owns the JVM indicated by the given vmid.
415 static char* get_user_name(int vmid, TRAPS) { argument
420 snprintf(psinfo_name, PATH_MAX, "/proc/%d/psinfo", vmid);
462 return get_user_name_slow(vmid, CHECK_NUL
470 get_sharedmem_filename(const char* dirname, int vmid) argument
724 int vmid = os::current_process_id(); local
840 mmap_attach_shared(const char* user, int vmid, PerfMemory::PerfMemoryMode mode, char** addr, size_t* sizep, TRAPS) argument
1021 attach(const char* user, int vmid, PerfMemoryMode mode, char** addrp, size_t* sizep, TRAPS) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/tools/attach/
H A DWindowsAttachProvider.java60 public VirtualMachine attachVirtualMachine(String vmid) argument
67 testAttachable(vmid);
69 return new WindowsVirtualMachine(this, vmid);
/openjdk7/jdk/test/sun/management/jmxremote/bootstrap/
H A DTestManager.java119 int vmid = Integer.parseInt(pid);
121 ConnectorAddressLink.importFrom(vmid);
131 ConnectorAddressLink.importFrom(vmid);

Completed in 51 milliseconds

12