test/gc/g1/TestHumongousShrinkHeap.java
Print this page
rev 6542 : 8037925: CMM Testing: an allocated humongous object at the end of the heap should not prevents shrinking the heap
Summary: New test added.
Reviewed-by: ehelin, tschatzl, jwilhelm
Contributed-by: andrey.x.zakharov@oracle.com
rev 6543 : 8056043: Heap does not shrink within the heap after JDK-8038423
Summary: Enable shrinking within the heap by removing some code added for JDK-8054818. Enable the test case that checks that again too.
Reviewed-by: jwilhelm, jmasa
@@ -21,11 +21,11 @@
* questions.
*/
/**
* @test TestHumongousShrinkHeap
- * @bug 8036025
+ * @bug 8036025 8056043
* @summary Verify that heap shrinks after GC in the presence of fragmentation due to humongous objects
* @library /testlibrary
* @run main/othervm -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=50 -XX:+UseG1GC -XX:G1HeapRegionSize=1M -verbose:gc TestHumongousShrinkHeap
*/