< prev index next >
test/gc/shenandoah/TestSmallHeap.java
Print this page
rev 10697 : [backport] Prepare tests for making UseShenandoahGC experimental
rev 10772 : [backport] Update copyrights
rev 10782 : [backport] Shenandoah should @require Shenandoah, @key gc, and have good @test
rev 10786 : [backport] Reformat Shenandoah tests
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2017, Red Hat, Inc. and/or its affiliates.
+ * Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.
*
* 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.
*
@@ -21,17 +21,18 @@
*
*/
/*
* @test TestSmallHeap
+ * @key gc
*
- * @run main/othervm -XX:+UseShenandoahGC TestSmallHeap
- * @run main/othervm -XX:+UseShenandoahGC -Xmx64m TestSmallHeap
- * @run main/othervm -XX:+UseShenandoahGC -Xmx32m TestSmallHeap
- * @run main/othervm -XX:+UseShenandoahGC -Xmx16m TestSmallHeap
- * @run main/othervm -XX:+UseShenandoahGC -Xmx8m TestSmallHeap
- * @run main/othervm -XX:+UseShenandoahGC -Xmx4m TestSmallHeap
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC TestSmallHeap
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx64m TestSmallHeap
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx32m TestSmallHeap
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx16m TestSmallHeap
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx8m TestSmallHeap
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx4m TestSmallHeap
*/
public class TestSmallHeap {
public static void main(String[] args) throws Exception {
< prev index next >