< prev index next >

test/gc/g1/TestNoEagerReclaimOfHumongousRegions.java

Print this page

        

*** 27,39 **** * @summary Test to check that a live humongous object is not eagerly reclaimed. This is a regression test for * 8139424 and the test will crash if an eager reclaim occur. The test is not 100% deterministic and * might pass even if there are problems in the code, but it will never crash unless there is a problem. * @requires vm.gc.G1 * @key gc ! * @library /testlibrary /test/lib * @modules java.base/jdk.internal.misc ! * @build TestNoEagerReclaimOfHumongousRegions * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -Xlog:gc,gc+humongous=debug -XX:+UseG1GC -XX:MaxTenuringThreshold=0 -XX:G1RSetSparseRegionEntries=32 -XX:G1HeapRegionSize=1m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI TestNoEagerReclaimOfHumongousRegions */ --- 27,39 ---- * @summary Test to check that a live humongous object is not eagerly reclaimed. This is a regression test for * 8139424 and the test will crash if an eager reclaim occur. The test is not 100% deterministic and * might pass even if there are problems in the code, but it will never crash unless there is a problem. * @requires vm.gc.G1 * @key gc ! * @library /test/lib * @modules java.base/jdk.internal.misc ! * @build sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -Xlog:gc,gc+humongous=debug -XX:+UseG1GC -XX:MaxTenuringThreshold=0 -XX:G1RSetSparseRegionEntries=32 -XX:G1HeapRegionSize=1m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI TestNoEagerReclaimOfHumongousRegions */
< prev index next >