6853676: OperatingSystemMXBean.TotalPhysicalMemorySize has incorrect value

Dmytro Sheyko dmytro_sheyko at hotmail.com
Thu Aug 30 00:18:32 PDT 2012


Hi,

Could you please review the patch and apply it if it's correct?
https://bugs.openjdk.java.net/show_bug.cgi?id=100077
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6853676

Thanks,
Dmytro

> Date: Wed, 2 Feb 2011 20:09:59 +1000
> From: David.Holmes at oracle.com
> To: Alan.Bateman at oracle.com
> CC: dmytro_sheyko at hotmail.com; serviceability-dev at openjdk.java.net; hotspot-dev at openjdk.java.net; core-libs-dev at openjdk.java.net; jmx-dev at openjdk.java.net
> Subject: Re: 6853676: OperatingSystemMXBean.TotalPhysicalMemorySize has incorrect value
> 
> Alan Bateman said the following on 02/02/11 20:05:
> > David Holmes wrote:
> >> It looks like this was actually fixed under 6840305 back in July 2009:
> >>
> >> http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/8c79517a9300
> >>
> >> This CR was not updated however.
> >>
> >> Does the problem still exist?
> >>
> >> David Holmes
> > I think this is separate and 6853676 is about 
> > com.sun.management.OperatingSystemMXBean. The code for that is in jdk 
> > repo in src/windows/native/com/sun/management. It should be using 
> > GlobalMemoryStatusEx rather than GlobalMemoryStatus.
> 
> Thanks Alan, the comments in 6853676 led me astray.
> 
> As a P4 it looks like this has just slipped through the cracks.
> 
> David
> 
> 
> > Dmytro - to your question, serviceability-dev is the right place to 
> > bring it.
> > 
> > -Alan
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20120830/b530dd14/attachment.html 


More information about the serviceability-dev mailing list