< prev index next >

test/gc/g1/TestHumongousAllocNearlyFullRegion.java

Print this page

        

*** 25,39 **** * @test TestHumongousAllocNearlyFullRegion * @bug 8143587 * @summary G1: humongous object allocations should work even when there is * not enough space in the heapRegion to fit a filler object. * @modules java.base/jdk.internal.misc ! * @library /testlibrary * @run driver TestHumongousAllocNearlyFullRegion */ ! import jdk.test.lib.*; public class TestHumongousAllocNearlyFullRegion { // Heap sizes < 224 MB are increased to 224 MB if vm_page_size == 64K to // fulfill alignment constraints. private static final int heapSize = 224; // MB --- 25,40 ---- * @test TestHumongousAllocNearlyFullRegion * @bug 8143587 * @summary G1: humongous object allocations should work even when there is * not enough space in the heapRegion to fit a filler object. * @modules java.base/jdk.internal.misc ! * @library /test/lib * @run driver TestHumongousAllocNearlyFullRegion */ ! import jdk.test.lib.process.OutputAnalyzer; ! import jdk.test.lib.process.ProcessTools; public class TestHumongousAllocNearlyFullRegion { // Heap sizes < 224 MB are increased to 224 MB if vm_page_size == 64K to // fulfill alignment constraints. private static final int heapSize = 224; // MB
< prev index next >