src/share/vm/runtime/simpleThresholdPolicy.hpp

changeset 2314
f95d63e2154a
parent 2138
d5d065957597
child 2559
72d6c57d0658
equal deleted inserted replaced
2313:e33f46fc48ed 2314:f95d63e2154a
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

mercurial