< prev index next > test/hotspot/jtreg/gc/shenandoah/TestAllocObjects.java
Print this page
/*
* Copyright (c) 2016, 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.
* -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
* TestAllocObjects
*/
/*
! * @test id=static
* @summary Acceptance tests: collector can withstand allocation
* @requires vm.gc.Shenandoah
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
* TestAllocObjects
- */
-
- /*
- * @test id=compact
- * @summary Acceptance tests: collector can withstand allocation
- * @requires vm.gc.Shenandoah
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
* TestAllocObjects
*/
/*
! * @test id=iu-aggressive
* @summary Acceptance tests: collector can withstand allocation
* @requires vm.gc.Shenandoah
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
- * -XX:+ShenandoahOOMDuringEvacALot -XX:+ShenandoahVerify
- * TestAllocObjects
- *
- * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
- * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
- * -XX:+ShenandoahAllocFailureALot -XX:+ShenandoahVerify
- * TestAllocObjects
- *
- * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
- * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
- * -XX:+ShenandoahOOMDuringEvacALot
- * TestAllocObjects
- *
- * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
- * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
- * -XX:+ShenandoahAllocFailureALot
- * TestAllocObjects
- *
- * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
- * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
* TestAllocObjects
*/
/*
! * @test id=iu
* @summary Acceptance tests: collector can withstand allocation
* @requires vm.gc.Shenandoah
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
- * -XX:+ShenandoahVerify
- * TestAllocObjects
- *
- * @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
- * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
* TestAllocObjects
*/
-
public class TestAllocObjects {
static final long TARGET_MB = Long.getLong("target", 10_000); // 10 Gb allocation
static volatile Object sink;
* -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
* TestAllocObjects
*/
/*
! * @test id=generational
* @summary Acceptance tests: collector can withstand allocation
* @requires vm.gc.Shenandoah
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
+ * -XX:+ShenandoahVerify
* TestAllocObjects
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
* TestAllocObjects
*/
/*
! * @test id=static
* @summary Acceptance tests: collector can withstand allocation
* @requires vm.gc.Shenandoah
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static
* TestAllocObjects
*/
/*
! * @test id=compact
* @summary Acceptance tests: collector can withstand allocation
* @requires vm.gc.Shenandoah
*
* @run main/othervm -Xmx1g -Xms1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
! * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
* TestAllocObjects
*/
public class TestAllocObjects {
static final long TARGET_MB = Long.getLong("target", 10_000); // 10 Gb allocation
static volatile Object sink;
< prev index next >