< prev index next >

src/hotspot/share/jvmci/jvmciCompiler.hpp

Print this page




  67 
  68   virtual bool supports_native()                 { return true; }
  69   virtual bool supports_osr   ()                 { return true; }
  70 
  71   bool is_jvmci()                                { return true; }
  72   bool is_c1   ()                                { return false; }
  73   bool is_c2   ()                                { return false; }
  74 
  75   bool needs_stubs            () { return false; }
  76 
  77   // Initialization
  78   virtual void initialize();
  79 
  80   /**
  81    * Initialize the compile queue with the methods in java.lang.Object and
  82    * then wait until the queue is empty.
  83    */
  84   void bootstrap(TRAPS);
  85 
  86   // Should force compilation of method at CompLevel_simple?
  87   bool force_comp_at_level_simple(Method* method);
  88 
  89   bool is_bootstrapping() const { return _bootstrapping; }
  90 
  91   void set_bootstrap_compilation_request_handled() {
  92     _instance->_bootstrap_compilation_request_handled = true;
  93   }
  94 
  95   // Compilation entry point for methods
  96   virtual void compile_method(ciEnv* env, ciMethod* target, int entry_bci, DirectiveSet* directive);
  97 
  98   // Print compilation timers and statistics
  99   virtual void print_timers();
 100 
 101   /**
 102    * Gets the number of methods that have been successfully compiled by
 103    * a call to JVMCICompiler::compile_method().
 104    */
 105   int methods_compiled() { return _methods_compiled; }
 106 
 107   void inc_methods_compiled() {


  67 
  68   virtual bool supports_native()                 { return true; }
  69   virtual bool supports_osr   ()                 { return true; }
  70 
  71   bool is_jvmci()                                { return true; }
  72   bool is_c1   ()                                { return false; }
  73   bool is_c2   ()                                { return false; }
  74 
  75   bool needs_stubs            () { return false; }
  76 
  77   // Initialization
  78   virtual void initialize();
  79 
  80   /**
  81    * Initialize the compile queue with the methods in java.lang.Object and
  82    * then wait until the queue is empty.
  83    */
  84   void bootstrap(TRAPS);
  85 
  86   // Should force compilation of method at CompLevel_simple?
  87   bool force_comp_at_level_simple(const methodHandle& method);
  88 
  89   bool is_bootstrapping() const { return _bootstrapping; }
  90 
  91   void set_bootstrap_compilation_request_handled() {
  92     _instance->_bootstrap_compilation_request_handled = true;
  93   }
  94 
  95   // Compilation entry point for methods
  96   virtual void compile_method(ciEnv* env, ciMethod* target, int entry_bci, DirectiveSet* directive);
  97 
  98   // Print compilation timers and statistics
  99   virtual void print_timers();
 100 
 101   /**
 102    * Gets the number of methods that have been successfully compiled by
 103    * a call to JVMCICompiler::compile_method().
 104    */
 105   int methods_compiled() { return _methods_compiled; }
 106 
 107   void inc_methods_compiled() {
< prev index next >