< prev index next > test/hotspot/jtreg/gc/stress/gcold/TestGCOldWithShenandoah.java
Print this page
/*
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. 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.
* @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
* -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
* gc.stress.gcold.TestGCOld 50 1 20 10 10000
*/
+ /*
+ * @test id=generational
+ * @key stress randomness
+ * @library / /test/lib
+ * @requires vm.gc.Shenandoah
+ * @summary Stress the GC by trying to make old objects more likely to be garbage than young objects.
+ *
+ * @run main/othervm/timeout=600 -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
+ * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational
+ * -XX:+ShenandoahVerify
+ * gc.stress.gcold.TestGCOld 50 1 20 10 10000
+ *
+ * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
+ * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=generational
+ * gc.stress.gcold.TestGCOld 50 1 20 10 10000
+ */
public class TestGCOldWithShenandoah {
public static void main(String[] args) {
TestGCOld.main(args);
}
< prev index next >