< prev index next >

test/gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java

Print this page
rev 7559 : imported patch bengt-review

*** 20,30 **** * or visit www.oracle.com if you need additional information or have any * questions. */ /* ! * @test TestEagerReclaimHumongousRegions2 * @bug 8051973 * @summary Test to make sure that eager reclaim of humongous objects correctly clears * mark bitmaps at reclaim. * @key gc * @library /testlibrary --- 20,30 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ /* ! * @test TestEagerReclaimHumongousRegionsClearMarkBits * @bug 8051973 * @summary Test to make sure that eager reclaim of humongous objects correctly clears * mark bitmaps at reclaim. * @key gc * @library /testlibrary
*** 107,117 **** // Keep the reference to the first object alive. System.out.println(ref_from_stack); } } ! public class TestEagerReclaimHumongousRegions2 { public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( "-XX:+UseG1GC", "-Xms128M", "-Xmx128M", --- 107,117 ---- // Keep the reference to the first object alive. System.out.println(ref_from_stack); } } ! public class TestEagerReclaimHumongousRegionsClearMarkBits { public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( "-XX:+UseG1GC", "-Xms128M", "-Xmx128M",
< prev index next >