diff src/share/vm/jvmci/jvmciCompiler.hpp @ 23379:24505bf61633

allow JVMCI compiler to change the compilation policy for a method (JDK-8152311)
author Doug Simon <doug.simon@oracle.com>
date Mon, 09 May 2016 16:08:16 +0200
parents 633cf7bea01d
children 0226d6bcb0d2
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCompiler.hpp	Mon May 09 11:31:54 2016 +0200
+++ b/src/share/vm/jvmci/jvmciCompiler.hpp	Mon May 09 16:08:16 2016 +0200
@@ -68,8 +68,14 @@
 
 #ifdef COMPILERJVMCI
 
+  /**
+   * Initialize the compile queue with the methods in java.lang.Object and
+   * then wait until the queue is empty.
+   */
   void bootstrap();
-  
+
+  bool is_bootstrapping() const { return _bootstrapping; }
+
   // Compilation entry point for methods
   virtual void compile_method(ciEnv* env, ciMethod* target, int entry_bci);