< prev index next >

test/hotspot/jtreg/gc/TestHumongousReferenceObject.java

Print this page

        

*** 50,61 **** * @test TestHumongousReferenceObjectShenandoah * @summary Test that verifies that iteration over large, plain Java objects, that potentially cross region boundaries, with references in them works. * @requires vm.gc.Shenandoah & !vm.graal.enabled * @bug 8151499 8153734 * @modules java.base/jdk.internal.vm.annotation ! * @run main/othervm -XX:+EnableContended -XX:-RestrictContended -Xms128m -Xmx128m -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahHeapRegionSize=8M -XX:ContendedPaddingWidth=8192 gc.TestHumongousReferenceObject ! * @run main/othervm -XX:+EnableContended -XX:-RestrictContended -Xms128m -Xmx128m -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahHeapRegionSize=8M -XX:ContendedPaddingWidth=8192 -XX:+UnlockDiagnosticVMOptions -XX:+ShenandoahVerify gc.TestHumongousReferenceObject */ public class TestHumongousReferenceObject { /* Due to 300 fields with 8K @Contended padding around each field, it takes 2.4M bytes per instance. --- 50,61 ---- * @test TestHumongousReferenceObjectShenandoah * @summary Test that verifies that iteration over large, plain Java objects, that potentially cross region boundaries, with references in them works. * @requires vm.gc.Shenandoah & !vm.graal.enabled * @bug 8151499 8153734 * @modules java.base/jdk.internal.vm.annotation ! * @run main/othervm -XX:+EnableContended -XX:-RestrictContended -Xmx128m -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahHeapRegionSize=8M -XX:ContendedPaddingWidth=8192 gc.TestHumongousReferenceObject ! * @run main/othervm -XX:+EnableContended -XX:-RestrictContended -Xmx128m -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahHeapRegionSize=8M -XX:ContendedPaddingWidth=8192 -XX:+UnlockDiagnosticVMOptions -XX:+ShenandoahVerify gc.TestHumongousReferenceObject */ public class TestHumongousReferenceObject { /* Due to 300 fields with 8K @Contended padding around each field, it takes 2.4M bytes per instance.
< prev index next >