RFR(XS): 8062938: sun/jvmstat/monitor/MonitoredVm/CR6672135.java: java.lang.IllegalArgumentException: Could not map vmid to user name

Yekaterina Kantserova yekaterina.kantserova at oracle.com
Fri Jul 24 14:06:15 UTC 2015


Hi,

Could I please have a review of this fix.

bug: https://bugs.openjdk.java.net/browse/JDK-8062938
webrev: http://cr.openjdk.java.net/~ykantser/8062938/webrev.00

As David pointed out [1] the test is trying to monitor the first best VM 
from localHost.activeVms() which can result in various errors 
(https://bugs.openjdk.java.net/browse/JDK-8064572, 
https://bugs.openjdk.java.net/browse/JDK-8060736).

The solution is to start a test VM and operate on it. In order to test 
the fix the test has been run on all supported platforms.

Thanks,
Katja



[1] David Holmes 
<https://bugs.openjdk.java.net/secure/ViewProfile.jspa?name=dholmes> 
added a comment - 2014-11-07 12:39
My theory is that this test finds all VMs running on the machine, but 
some of those are not accessible to it - perhaps even running under a 
different user.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20150724/771bb8aa/attachment.html>


More information about the serviceability-dev mailing list