Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/simpleThresholdPolicy.inline.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 | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
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 | 24 |
25 #ifndef SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_INLINE_HPP | |
26 #define SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_INLINE_HPP | |
25 | 27 |
26 template<CompLevel level> | 28 template<CompLevel level> |
27 bool SimpleThresholdPolicy::call_predicate_helper(int i, int b, double scale) { | 29 bool SimpleThresholdPolicy::call_predicate_helper(int i, int b, double scale) { |
28 switch(level) { | 30 switch(level) { |
29 case CompLevel_none: | 31 case CompLevel_none: |
60 return !mdo->would_profile(); | 62 return !mdo->would_profile(); |
61 } | 63 } |
62 } | 64 } |
63 return false; | 65 return false; |
64 } | 66 } |
67 | |
68 #endif // SHARE_VM_RUNTIME_SIMPLETHRESHOLDPOLICY_INLINE_HPP |