diff src/share/vm/jvmci/jvmciRuntime.hpp @ 22685:3039e5bb94cb

initialize JVMCI eagerly if either the PrintFlags or ShowFlags JVMCI option is present
author Doug Simon <doug.simon@oracle.com>
date Thu, 15 Oct 2015 17:32:19 +0200
parents 1bbd4a7c274b
children 0229a2ca608b
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciRuntime.hpp	Thu Oct 15 17:30:42 2015 +0200
+++ b/src/share/vm/jvmci/jvmciRuntime.hpp	Thu Oct 15 17:32:19 2015 +0200
@@ -96,6 +96,12 @@
   static void save_options(SystemProperty* props);
 
   /**
+   * If either the PrintFlags or ShowFlags JVMCI option is present,
+   * then JVMCI is initialized to show the help message.
+   */
+  static void maybe_print_flags(TRAPS);
+
+  /**
    * Ensures that the JVMCI class loader is initialized and the well known JVMCI classes are loaded.
    */
   static void ensure_jvmci_class_loader_is_initialized();