changeset 23701:5d149c67c230 jvmci-0.15

make -Djvmci.PrintConfig exit the VM (consistent with -Djvmci.PrintFlags)
author Doug Simon <doug.simon@oracle.com>
date Sun, 19 Jun 2016 16:08:21 +0200
parents 9e1235406b59
children abebb99b6b50
files jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java	Sat Jun 18 13:19:01 2016 +0200
+++ b/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java	Sun Jun 19 16:08:21 2016 +0200
@@ -91,7 +91,7 @@
         // Note: The following one is not used (see InitTimer.ENABLED). It is added here
         // so that -Djvmci.PrintFlags=true shows the option.
         InitTimer(boolean.class, false, "Specifies if initialization timing is enabled."),
-        PrintConfig(boolean.class, false, "Prints available VM configuration info."),
+        PrintConfig(boolean.class, false, "Prints VM configuration available via JVMCI and exits."),
         PrintFlags(boolean.class, false, "Prints all JVMCI flags and exits."),
         ShowFlags(boolean.class, false, "Prints all JVMCI flags and continues."),
         TraceMethodDataFilter(String.class, null, "");
@@ -255,6 +255,7 @@
 
         if (Option.PrintConfig.getBoolean()) {
             printConfig(configStore, compilerToVm);
+            System.exit(0);
         }
 
         compilerFactory = HotSpotJVMCICompilerConfig.getCompilerFactory();