Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/advancedThresholdPolicy.hpp @ 3837:43f9d800f276
7066339: Tiered: policy should make consistent decisions about osr levels
Summary: Added feedback disabling flag to common(), fixed handling of TieredStopAtLevel.
Reviewed-by: kvn, never
author | iveresov |
---|---|
date | Wed, 20 Jul 2011 18:04:17 -0700 |
parents | 2c359f27615c |
children | 20334ed5ed3c |
line wrap: on
line diff
--- a/src/share/vm/runtime/advancedThresholdPolicy.hpp Fri Jul 15 15:35:50 2011 -0700 +++ b/src/share/vm/runtime/advancedThresholdPolicy.hpp Wed Jul 20 18:04:17 2011 -0700 @@ -168,7 +168,7 @@ bool call_predicate(int i, int b, CompLevel cur_level); bool loop_predicate(int i, int b, CompLevel cur_level); // Common transition function. Given a predicate determines if a method should transition to another level. - CompLevel common(Predicate p, methodOop method, CompLevel cur_level); + CompLevel common(Predicate p, methodOop method, CompLevel cur_level, bool disable_feedback = false); // Transition functions. // call_event determines if a method should be compiled at a different // level with a regular invocation entry.