< prev index next >
test/gc/shenandoah/options/TestAlwaysPreTouch.java
Print this page
rev 10790 : [backport] Prefix Shenandoah tests with "Test"
*** 1,7 ****
/*
! * Copyright (c) 2016, Red Hat, Inc. and/or its affiliates.
*
* 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.
*
--- 1,7 ----
/*
! * Copyright (c) 2016, 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.
*
*** 20,39 ****
* questions.
*
*/
/*
! * @test AlwaysPreTouch
* @summary Check that Shenandoah's AlwaysPreTouch does not fire asserts
! * @run main/othervm -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -Xmx1g AlwaysPreTouch
! * @run main/othervm -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -XX:ConcGCThreads=2 -Xmx1g AlwaysPreTouch
! * @run main/othervm -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -XX:ParallelGCThreads=2 -Xmx1g AlwaysPreTouch
! * @run main/othervm -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -Xms128m -Xmx1g AlwaysPreTouch
! * @run main/othervm -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -Xms1g -Xmx1g AlwaysPreTouch
*/
! public class AlwaysPreTouch {
public static void main(String[] args) throws Exception {
// checking the initialization before entering main()
}
--- 20,41 ----
* questions.
*
*/
/*
! * @test TestAlwaysPreTouch
* @summary Check that Shenandoah's AlwaysPreTouch does not fire asserts
! * @key gc
! *
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -Xmx1g TestAlwaysPreTouch
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -XX:ConcGCThreads=2 -Xmx1g TestAlwaysPreTouch
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -XX:ParallelGCThreads=2 -Xmx1g TestAlwaysPreTouch
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -Xms128m -Xmx1g TestAlwaysPreTouch
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+AlwaysPreTouch -Xms1g -Xmx1g TestAlwaysPreTouch
*/
! public class TestAlwaysPreTouch {
public static void main(String[] args) throws Exception {
// checking the initialization before entering main()
}
< prev index next >