hotspot/src/share/vm/runtime/simpleThresholdPolicy.hpp
changeset 7397 5b173b4ca846
parent 6453 970dc585ab63
child 8322 8f11ba61239f
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
       
    24 
       
    25 #ifndef SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_HPP
       
    26 #define SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_HPP
       
    27 
       
    28 #include "code/nmethod.hpp"
       
    29 #include "oops/methodDataOop.hpp"
       
    30 #include "runtime/compilationPolicy.hpp"
       
    31 #include "utilities/globalDefinitions.hpp"
    24 
    32 
    25 class CompileTask;
    33 class CompileTask;
    26 class CompileQueue;
    34 class CompileQueue;
    27 
    35 
    28 class SimpleThresholdPolicy : public CompilationPolicy {
    36 class SimpleThresholdPolicy : public CompilationPolicy {
   103   // Tell the runtime if we think a given method is adequately profiled.
   111   // Tell the runtime if we think a given method is adequately profiled.
   104   virtual bool is_mature(methodOop method);
   112   virtual bool is_mature(methodOop method);
   105   // Initialize: set compiler thread count
   113   // Initialize: set compiler thread count
   106   virtual void initialize();
   114   virtual void initialize();
   107 };
   115 };
       
   116 
       
   117 #endif // SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_HPP