[PATCH] 8037925: CMM Testing: an allocated humongous object at the end of the heap should not prevents shrinking the heap
Igor Ignatyev
igor.ignatyev at oracle.com
Wed Mar 26 19:12:56 UTC 2014
Hi Andrey,
- I can't find MemoryUsagePrinter class in testlibrary[1]
- please replace string constant, which use in MemoryUsagePrinter, by enum
- you forgot to remove commented line 53
- lines 79,82: why did you use
sun.management.ManagementFactoryHelper.getDiagnosticMXBean() instead of
'ManagementFactory.getPlatformMXBean(HotSpotDiagnosticMXBean.class)' ?
- just a nit: you again use extra spaces in some brackets: 55,68,61,74,..
[1]
http://hg.openjdk.java.net/jdk9/hs-gc/hotspot/file/tip/test/testlibrary/com/oracle/java/testlibrary
Thanks,
Igor
On 03/26/2014 11:02 PM, Andrey Zakharov wrote:
> Test to check, that if we allocate h1, h2 and h3 humongous objects and
> free h1 and h2, after GC G1 shrinks the heap.
> webrev: http://cr.openjdk.java.net/~jwilhelm/8037925/webrev/
> bug: https://bugs.openjdk.java.net/browse/JDK-8037925
>
> This test used testlibrary MemoryUsagePrinter from
> http://cr.openjdk.java.net/~jwilhelm/8037924/webrev/
>
> Thanks.
>
More information about the hotspot-gc-dev
mailing list