test/hotspot/jtreg/gc/epsilon/TestHelloWorld.java
branchepsilon-gc-branch
changeset 56540 ada11a8e2ebc
parent 56350 56014b46de69
equal deleted inserted replaced
56536:9931d138b808 56540:ada11a8e2ebc
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /**
    24 /**
    25  * @test TestHelloWorld
    25  * @test TestHelloWorld
       
    26  * @key gc
       
    27  * @requires vm.gc.Epsilon
    26  * @summary Basic sanity test for Epsilon
    28  * @summary Basic sanity test for Epsilon
    27  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+UseEpsilonGC TestHelloWorld
    29  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC TestHelloWorld
    28  */
    30  */
    29 
       
    30 import java.util.LinkedList;
       
    31 
    31 
    32 public class TestHelloWorld {
    32 public class TestHelloWorld {
    33   public static void main(String[] args) throws Exception {
    33   public static void main(String[] args) throws Exception {
    34     System.out.println("Hello World");
    34     System.out.println("Hello World");
    35   }
    35   }