Mercurial > hg > truffle
comparison src/share/vm/runtime/simpleThresholdPolicy.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | d5d065957597 |
children | 72d6c57d0658 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972: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 |