< prev index next > test/hotspot/jtreg/gc/shenandoah/TestSieveObjects.java
Print this page
/*
* Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.
+ * Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
* TestSieveObjects
*
*/
/*
! * @test id=static
* @summary Acceptance tests: collector can deal with retained objects
* @key randomness
* @requires vm.gc.Shenandoah
* @library /test/lib
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
* TestSieveObjects
- */
-
- /*
- * @test id=compact
- * @summary Acceptance tests: collector can deal with retained objects
- * @key randomness
- * @requires vm.gc.Shenandoah
- * @library /test/lib
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
* TestSieveObjects
*/
/*
! * @test id=no-tlab
* @summary Acceptance tests: collector can deal with retained objects
* @key randomness
* @requires vm.gc.Shenandoah
* @library /test/lib
*
! * @run main/othervm/timeout=240 -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC
- * -XX:-UseTLAB -XX:+ShenandoahVerify
* TestSieveObjects
*/
/*
! * @test id=iu-aggressive
* @summary Acceptance tests: collector can deal with retained objects
* @key randomness
* @requires vm.gc.Shenandoah
* @library /test/lib
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
- * -XX:+ShenandoahOOMDuringEvacALot
- * TestSieveObjects
- *
- * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
- * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
- * -XX:+ShenandoahAllocFailureALot
- * TestSieveObjects
- *
- * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
- * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
* TestSieveObjects
*/
/*
! * @test id=iu
* @summary Acceptance tests: collector can deal with retained objects
* @key randomness
* @requires vm.gc.Shenandoah
* @library /test/lib
*
! * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
! * -XX:+ShenandoahVerify
- * TestSieveObjects
- *
- * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
- * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
* TestSieveObjects
*/
import java.util.Random;
import jdk.test.lib.Utils;
* TestSieveObjects
*
*/
/*
! * @test id=generational
* @summary Acceptance tests: collector can deal with retained objects
* @key randomness
* @requires vm.gc.Shenandoah
* @library /test/lib
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
+ * -XX:+ShenandoahOOMDuringEvacALot -XX:+ShenandoahVerify
* TestSieveObjects
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
+ * -XX:+ShenandoahAllocFailureALot -XX:+ShenandoahVerify
+ * TestSieveObjects
+ *
+ * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
+ * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
* TestSieveObjects
*/
/*
! * @test id=static
* @summary Acceptance tests: collector can deal with retained objects
* @key randomness
* @requires vm.gc.Shenandoah
* @library /test/lib
*
! * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
* TestSieveObjects
*/
/*
! * @test id=compact
* @summary Acceptance tests: collector can deal with retained objects
* @key randomness
* @requires vm.gc.Shenandoah
* @library /test/lib
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
* TestSieveObjects
*/
/*
! * @test id=no-tlab
* @summary Acceptance tests: collector can deal with retained objects
* @key randomness
* @requires vm.gc.Shenandoah
* @library /test/lib
*
! * @run main/othervm/timeout=300 -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC
! * -XX:-UseTLAB -XX:+ShenandoahVerify
* TestSieveObjects
*/
import java.util.Random;
import jdk.test.lib.Utils;
< prev index next >