test/compiler/jvmci/events/JvmciShutdownEventTest.java
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File hotspot Sdiff test/compiler/jvmci/events

test/compiler/jvmci/events/JvmciShutdownEventTest.java

Print this page




  57     };
  58 
  59     private final static String[] ERROR_MESSAGE = new String[]{
  60         JvmciShutdownEventListener.GOT_INTERNAL_ERROR
  61     };
  62 
  63     public static void main(String args[]) throws Throwable {
  64         boolean addTestVMOptions = true;
  65         CommandLineOptionTest.verifyJVMStartup(MESSAGE, ERROR_MESSAGE,
  66                 "Unexpected exit code with +EnableJVMCI",
  67                 "Unexpected output with +EnableJVMCI", ExitCode.OK,
  68                 addTestVMOptions, "-XX:+UnlockExperimentalVMOptions",
  69                 "-XX:+EnableJVMCI", "-Xbootclasspath/a:.",
  70                 JvmciShutdownEventListener.class.getName()
  71         );
  72 
  73         CommandLineOptionTest.verifyJVMStartup(ERROR_MESSAGE, MESSAGE,
  74                 "Unexpected exit code with -EnableJVMCI",
  75                 "Unexpected output with -EnableJVMCI", ExitCode.OK,
  76                 addTestVMOptions, "-XX:+UnlockExperimentalVMOptions",
  77                 "-XX:-EnableJVMCI", "-Xbootclasspath/a:.",
  78                 JvmciShutdownEventListener.class.getName()
  79         );
  80     }
  81 }


  57     };
  58 
  59     private final static String[] ERROR_MESSAGE = new String[]{
  60         JvmciShutdownEventListener.GOT_INTERNAL_ERROR
  61     };
  62 
  63     public static void main(String args[]) throws Throwable {
  64         boolean addTestVMOptions = true;
  65         CommandLineOptionTest.verifyJVMStartup(MESSAGE, ERROR_MESSAGE,
  66                 "Unexpected exit code with +EnableJVMCI",
  67                 "Unexpected output with +EnableJVMCI", ExitCode.OK,
  68                 addTestVMOptions, "-XX:+UnlockExperimentalVMOptions",
  69                 "-XX:+EnableJVMCI", "-Xbootclasspath/a:.",
  70                 JvmciShutdownEventListener.class.getName()
  71         );
  72 
  73         CommandLineOptionTest.verifyJVMStartup(ERROR_MESSAGE, MESSAGE,
  74                 "Unexpected exit code with -EnableJVMCI",
  75                 "Unexpected output with -EnableJVMCI", ExitCode.OK,
  76                 addTestVMOptions, "-XX:+UnlockExperimentalVMOptions",
  77                 "-XX:-EnableJVMCI", "-XX:-UseJVMCICompiler", "-Xbootclasspath/a:.",
  78                 JvmciShutdownEventListener.class.getName()
  79         );
  80     }
  81 }
test/compiler/jvmci/events/JvmciShutdownEventTest.java
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File