Mercurial > hg > truffle
comparison test/gc/g1/TestHumongousShrinkHeap.java @ 20382:b1266b08b994
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
author | tschatzl |
---|---|
date | Wed, 03 Sep 2014 09:24:07 +0200 |
parents | 09e9e5240710 |
children | 9b8bd21b6823 |
comparison
equal
deleted
inserted
replaced
20381:09e9e5240710 | 20382:b1266b08b994 |
---|---|
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 | 23 |
24 /** | 24 /** |
25 * @test TestHumongousShrinkHeap | 25 * @test TestHumongousShrinkHeap |
26 * @bug 8036025 | 26 * @bug 8036025 8056043 |
27 * @summary Verify that heap shrinks after GC in the presence of fragmentation due to humongous objects | 27 * @summary Verify that heap shrinks after GC in the presence of fragmentation due to humongous objects |
28 * @library /testlibrary | 28 * @library /testlibrary |
29 * @run main/othervm -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=50 -XX:+UseG1GC -XX:G1HeapRegionSize=1M -verbose:gc TestHumongousShrinkHeap | 29 * @run main/othervm -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=50 -XX:+UseG1GC -XX:G1HeapRegionSize=1M -verbose:gc TestHumongousShrinkHeap |
30 */ | 30 */ |
31 | 31 |