Request for Review: 7132199: sun/management/jmxremote/bootstrap/JvmstatCountersTest.java failing on all platforms

Daniel D. Daugherty daniel.daugherty at oracle.com
Mon Jan 30 09:05:40 PST 2012


On 1/30/12 3:05 AM, Staffan Larsen wrote:
> Please review the following fix.
>
> Webrev: http://cr.openjdk.java.net/~sla/7132199/webrev.00/ 
> <http://cr.openjdk.java.net/%7Esla/7132199/webrev.00/>
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7132199
>
> The problem is that HotSpot will always create the .java_pid1234 
> socket/door file in /tmp (see CR 7009828).
>
> The JDK will currently look first in the current directory then in 
> java.io.tmpdir. If java.io.tmpdir has the default value of /tmp this 
> works, but if the user has set it to something else it doesn't.
>
> My fix hardcodes /tmp in LinuxVirtualMachine.java and 
> SolarisVirtualMachine.java.
>
> The same fix will be needed in BsdVirtualMachine.java eventually.

Please fix BsdVirtualMachine.java at the same time.

Dan

>
> Thanks,
> /Staffan


More information about the serviceability-dev mailing list