src/hotspot/share/runtime/tieredThresholdPolicy.hpp
changeset 54647 c0d9bc9b4e1f
parent 53244 9807daeb47c4
child 58398 ff559f979c4b
equal deleted inserted replaced
54646:5b1eec609909 54647:c0d9bc9b4e1f
   229   void compile(const methodHandle& mh, int bci, CompLevel level, JavaThread* thread);
   229   void compile(const methodHandle& mh, int bci, CompLevel level, JavaThread* thread);
   230   // Submit a given method for compilation
   230   // Submit a given method for compilation
   231   virtual void submit_compile(const methodHandle& mh, int bci, CompLevel level, JavaThread* thread);
   231   virtual void submit_compile(const methodHandle& mh, int bci, CompLevel level, JavaThread* thread);
   232   // Simple methods are as good being compiled with C1 as C2.
   232   // Simple methods are as good being compiled with C1 as C2.
   233   // This function tells if it's such a function.
   233   // This function tells if it's such a function.
   234   inline bool is_trivial(Method* method);
   234   inline static bool is_trivial(Method* method);
       
   235   // Force method to be compiled at CompLevel_simple?
       
   236   inline static bool should_compile_at_level_simple(Method* method);
   235 
   237 
   236   // Predicate helpers are used by .*_predicate() methods as well as others.
   238   // Predicate helpers are used by .*_predicate() methods as well as others.
   237   // They check the given counter values, multiplied by the scale against the thresholds.
   239   // They check the given counter values, multiplied by the scale against the thresholds.
   238   template<CompLevel level> static inline bool call_predicate_helper(int i, int b, double scale, Method* method);
   240   template<CompLevel level> static inline bool call_predicate_helper(int i, int b, double scale, Method* method);
   239   template<CompLevel level> static inline bool loop_predicate_helper(int i, int b, double scale, Method* method);
   241   template<CompLevel level> static inline bool loop_predicate_helper(int i, int b, double scale, Method* method);