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

123

/openjdk10/jdk/src/java.rmi/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
/openjdk10/jdk/src/jdk.internal.jvmstat/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
202 Integer vmid = i.next();
203 if (!lastActiveVms.contains(vmid)) {
[all...]
H A DLocalMonitoredVm.java62 * @param vmid the vm identifier specifying the target JVM
65 public LocalMonitoredVm(VmIdentifier vmid, int interval) argument
67 super(vmid, interval);
68 this.pdb = new PerfDataBuffer(vmid);
/openjdk10/jdk/src/jdk.internal.jvmstat/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());
/openjdk10/jdk/test/java/rmi/dgc/VMID/
H A DCheckVMID.java54 VMID vmid = new VMID();
55 System.err.println("vmid = " + vmid);
/openjdk10/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/
H A DLocalVirtualMachine.java48 private int vmid; field in class:LocalVirtualMachine
51 public LocalVirtualMachine(int vmid, String commandLine, boolean canAttach, String connectorAddress) { argument
52 this.vmid = vmid;
73 public int vmid() { method in class:LocalVirtualMachine
74 return vmid;
92 throw new IOException("This virtual machine \"" + vmid +
136 for (Object vmid: vms) {
137 if (vmid instanceof Integer) {
138 int pid = ((Integer) vmid)
191 getLocalVirtualMachine(int vmid) argument
[all...]
/openjdk10/jdk/src/java.rmi/share/classes/sun/rmi/transport/
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...]
H A DDGCImpl.java152 * The dirty call adds the VMID "vmid" to the set of clients
155 * the VMID "vmid" is null, a VMID will be generated on the
165 VMID vmid = lease.getVMID();
173 dgcLog.log(Log.VERBOSE, "vmid = " + vmid);
177 if (vmid == null) {
178 vmid = new VMID();
187 dgcLog.log(Log.BRIEF, " assigning vmid " + vmid +
192 lease = new Lease(vmid, duratio
234 clean(ObjID[] ids, long sequenceNum, VMID vmid, boolean strong) argument
250 registerTarget(VMID vmid, Target target) argument
264 unregisterTarget(VMID vmid, Target target) argument
419 VMID vmid; field in class:DGCImpl.LeaseInfo
423 LeaseInfo(VMID vmid, long lease) argument
[all...]
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/
H A DAbstractMonitoredVm.java46 protected VmIdentifier vmid; field in class:AbstractMonitoredVm
62 * @param vmid the VmIdentifier for the target
65 public AbstractMonitoredVm(VmIdentifier vmid, int interval) argument
67 this.vmid = vmid;
75 return vmid;
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/monitor/
H A DHostIdentifier.java232 * @param vmid the VmIdentifier use to construct the HostIdentifier.
234 public HostIdentifier(VmIdentifier vmid) { argument
240 String scheme = vmid.getScheme();
241 String host = vmid.getHost();
242 String authority = vmid.getAuthority();
280 int port = vmid.getPort();
285 String path = vmid.getPath();
290 String query = vmid.getQuery();
295 String frag = vmid.getFragment();
329 * @param vmid th
335 resolve(VmIdentifier vmid) argument
[all...]
/openjdk10/jdk/src/jdk.attach/solaris/classes/sun/tools/attach/
H A DAttachProviderImpl.java49 public VirtualMachine attachVirtualMachine(String vmid) argument
56 testAttachable(vmid);
58 return new VirtualMachineImpl(this, vmid);
/openjdk10/jdk/src/jdk.attach/aix/classes/sun/tools/attach/
H A DAttachProviderImpl.java52 public VirtualMachine attachVirtualMachine(String vmid) argument
59 testAttachable(vmid);
61 return new VirtualMachineImpl(this, vmid);
/openjdk10/jdk/src/jdk.attach/macosx/classes/sun/tools/attach/
H A DAttachProviderImpl.java49 public VirtualMachine attachVirtualMachine(String vmid) argument
56 testAttachable(vmid);
58 return new VirtualMachineImpl(this, vmid);
/openjdk10/jdk/src/jdk.attach/linux/classes/sun/tools/attach/
H A DAttachProviderImpl.java49 public VirtualMachine attachVirtualMachine(String vmid) argument
56 testAttachable(vmid);
58 return new VirtualMachineImpl(this, vmid);
/openjdk10/jdk/test/com/sun/tools/attach/
H A DAttachSelf.java44 String vmid = "" + ProcessHandle.current().pid();
48 vm = VirtualMachine.attach(vmid);
/openjdk10/jdk/test/sun/jvmstat/perfdata/PrologSanity/
H A DPrologSizeSanityCheck.java43 VmIdentifier vmid = new VmIdentifier("0");
45 MonitoredVm self = localhost.getMonitoredVm(vmid);
/openjdk10/jdk/src/jdk.jstatd/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>.
/openjdk10/jdk/src/jdk.attach/share/classes/sun/tools/attach/
H A DHotSpotAttachProvider.java86 for (Integer vmid: vms) {
87 String pid = vmid.toString();
131 VmIdentifier vmid = new VmIdentifier(id);
132 MonitoredHost host = MonitoredHost.getMonitoredHost(vmid);
133 mvm = host.getMonitoredVm(vmid);
/openjdk10/jdk/src/jdk.jstatd/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);
322 Integer vmid = i.next();
323 if (!lastActiveVms.contains(vmid)) {
325 startedVms.add(vmid);
[all...]
/openjdk10/jdk/src/jdk.attach/windows/classes/sun/tools/attach/
H A DAttachProviderImpl.java60 public VirtualMachine attachVirtualMachine(String vmid) argument
67 testAttachable(vmid);
69 return new VirtualMachineImpl(this, vmid);

Completed in 263 milliseconds

123