hotspot/src/share/vm/jvmci/jvmciRuntime.hpp
changeset 46727 6e4a84748e2c
parent 46271 979ebd346ecf
equal deleted inserted replaced
46726:7801367e3cc9 46727:6e4a84748e2c
    61 
    61 
    62   static CompLevelAdjustment _comp_level_adjustment;
    62   static CompLevelAdjustment _comp_level_adjustment;
    63 
    63 
    64   static bool _shutdown_called;
    64   static bool _shutdown_called;
    65 
    65 
    66   static CompLevel adjust_comp_level_inner(methodHandle method, bool is_osr, CompLevel level, JavaThread* thread);
    66   static CompLevel adjust_comp_level_inner(const methodHandle& method, bool is_osr, CompLevel level, JavaThread* thread);
    67 
    67 
    68  public:
    68  public:
    69   static bool is_HotSpotJVMCIRuntime_initialized() {
    69   static bool is_HotSpotJVMCIRuntime_initialized() {
    70     return _HotSpotJVMCIRuntime_initialized;
    70     return _HotSpotJVMCIRuntime_initialized;
    71   }
    71   }
   123    * @param is_osr specifies if the compilation is an OSR compilation
   123    * @param is_osr specifies if the compilation is an OSR compilation
   124    * @param level the compilation level currently selected by the VM compilation policy
   124    * @param level the compilation level currently selected by the VM compilation policy
   125    * @param thread the current thread
   125    * @param thread the current thread
   126    * @return the compilation level to use for the compilation
   126    * @return the compilation level to use for the compilation
   127    */
   127    */
   128   static CompLevel adjust_comp_level(methodHandle method, bool is_osr, CompLevel level, JavaThread* thread);
   128   static CompLevel adjust_comp_level(const methodHandle& method, bool is_osr, CompLevel level, JavaThread* thread);
   129 
   129 
   130   static BasicType kindToBasicType(Handle kind, TRAPS);
   130   static BasicType kindToBasicType(Handle kind, TRAPS);
   131 
   131 
   132   // The following routines are all called from compiled JVMCI code
   132   // The following routines are all called from compiled JVMCI code
   133 
   133