equal
deleted
inserted
replaced
138 } |
138 } |
139 } |
139 } |
140 return vids; |
140 return vids; |
141 } |
141 } |
142 |
142 |
143 public Collection<VirtualMachineDescriptor> getVirtualMachineDescriptors(Class<?> excludeClass) { |
143 public Collection<VirtualMachineDescriptor> getVirtualMachineDescriptors() { |
144 if (singlePid != null) { |
144 if (singlePid != null) { |
145 return getSingleVMD(singlePid); |
145 return getSingleVMD(singlePid); |
146 } else { |
146 } else { |
147 return getVMDs(excludeClass, matchClass); |
147 return getVMDs(null, matchClass); |
148 } |
148 } |
149 } |
|
150 |
|
151 public Collection<VirtualMachineDescriptor> getVirtualMachineDescriptors() { |
|
152 return this.getVirtualMachineDescriptors(null); |
|
153 } |
149 } |
154 |
150 |
155 public Collection<String> getVirtualMachinePids(Class<?> excludeClass) { |
151 public Collection<String> getVirtualMachinePids(Class<?> excludeClass) { |
156 if (singlePid != null) { |
152 if (singlePid != null) { |
157 // There is a bug in AttachProvider, when VM is debuggee-suspended it's not listed by the AttachProvider. |
153 // There is a bug in AttachProvider, when VM is debuggee-suspended it's not listed by the AttachProvider. |
160 } else { |
156 } else { |
161 return getVMDs(excludeClass, matchClass).stream().map(x -> {return x.id();}).collect(Collectors.toList()); |
157 return getVMDs(excludeClass, matchClass).stream().map(x -> {return x.id();}).collect(Collectors.toList()); |
162 } |
158 } |
163 } |
159 } |
164 |
160 |
165 public Collection<String> getVirtualMachinePids() { |
|
166 return this.getVirtualMachinePids(null); |
|
167 } |
|
168 } |
161 } |