RFR (S): 8023101 java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java fails
Mandy Chung
mandy.chung at oracle.com
Thu Aug 15 12:41:54 PDT 2013
Hi Staffan,
Is this issue specific to G1 such as mbean.gc() doesn't collect the
"freed" obj? The test wants to verify the peak usage won't change when
GC frees up some space.
Mandy
On 8/15/2013 12:05 PM, Staffan Larsen wrote:
> Please review this small update to the test. The fix allows for no change in heap usage to happen during a GC.
>
> webrev: http://cr.openjdk.java.net/~sla/8023101/webrev.00/
> bug: http://bugs.sun.com/view_bug.do?bug_id=8023101 (not available yet)
> jbs: https://jbs.oracle.com/bugs/browse/JDK-8023101
>
> Thanks,
> /Staffan
More information about the serviceability-dev
mailing list