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

Jaroslav Bachorik jaroslav.bachorik at oracle.com
Fri Jul 24 15:02:35 UTC 2015


Thumbs up!

-JB-

On 24.7.2015 16:06, Yekaterina Kantserova wrote:
> 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.



More information about the serviceability-dev mailing list