comparison test/gc/g1/TestHumongousShrinkHeap.java @ 22981:f967da7f0c3c

8062537: [TESTBUG] Conflicting GC combinations in hotspot tests Reviewed-by: tschatzl, jwilhelm
author jwilhelm
date Thu, 23 Apr 2015 15:59:48 +0200
parents 7a6313074325
children
comparison
equal deleted inserted replaced
22980:974d7f3df726 22981:f967da7f0c3c
22 */ 22 */
23 23
24 /** 24 /**
25 * @test TestHumongousShrinkHeap 25 * @test TestHumongousShrinkHeap
26 * @bug 8036025 8056043 26 * @bug 8036025 8056043
27 * @requires vm.gc=="G1" | vm.gc=="null"
27 * @summary Verify that heap shrinks after GC in the presence of fragmentation 28 * @summary Verify that heap shrinks after GC in the presence of fragmentation
28 * due to humongous objects 29 * due to humongous objects
29 * @library /testlibrary 30 * @library /testlibrary
30 * @run main/othervm -XX:-ExplicitGCInvokesConcurrent -XX:MinHeapFreeRatio=10 31 * @run main/othervm -XX:-ExplicitGCInvokesConcurrent -XX:MinHeapFreeRatio=10
31 * -XX:MaxHeapFreeRatio=12 -XX:+UseG1GC -XX:G1HeapRegionSize=1M -verbose:gc 32 * -XX:MaxHeapFreeRatio=12 -XX:+UseG1GC -XX:G1HeapRegionSize=1M -verbose:gc