< prev index next >
src/share/vm/runtime/advancedThresholdPolicy.hpp
Print this page
*** 172,185 ****
// Common transition function. Given a predicate determines if a method should transition to another level.
CompLevel common(Predicate p, Method* 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.
! CompLevel call_event(Method* method, CompLevel cur_level);
// loop_event checks if a method should be OSR compiled at a different
// level.
! CompLevel loop_event(Method* method, CompLevel cur_level);
// Has a method been long around?
// We don't remove old methods from the compile queue even if they have
// very low activity (see select_task()).
inline bool is_old(Method* method);
// Was a given method inactive for a given number of milliseconds.
--- 172,185 ----
// Common transition function. Given a predicate determines if a method should transition to another level.
CompLevel common(Predicate p, Method* 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.
! CompLevel call_event(Method* method, CompLevel cur_level, JavaThread * thread);
// loop_event checks if a method should be OSR compiled at a different
// level.
! CompLevel loop_event(Method* method, CompLevel cur_level, JavaThread * thread);
// Has a method been long around?
// We don't remove old methods from the compile queue even if they have
// very low activity (see select_task()).
inline bool is_old(Method* method);
// Was a given method inactive for a given number of milliseconds.
< prev index next >