src/hotspot/share/runtime/tieredThresholdPolicy.hpp
changeset 54647 c0d9bc9b4e1f
parent 53244 9807daeb47c4
child 58398 ff559f979c4b
--- a/src/hotspot/share/runtime/tieredThresholdPolicy.hpp	Fri Mar 08 18:21:52 2019 -0800
+++ b/src/hotspot/share/runtime/tieredThresholdPolicy.hpp	Wed Apr 24 09:10:45 2019 -0700
@@ -231,7 +231,9 @@
   virtual void submit_compile(const methodHandle& mh, int bci, CompLevel level, JavaThread* thread);
   // Simple methods are as good being compiled with C1 as C2.
   // This function tells if it's such a function.
-  inline bool is_trivial(Method* method);
+  inline static bool is_trivial(Method* method);
+  // Force method to be compiled at CompLevel_simple?
+  inline static bool should_compile_at_level_simple(Method* method);
 
   // Predicate helpers are used by .*_predicate() methods as well as others.
   // They check the given counter values, multiplied by the scale against the thresholds.