7066339: Tiered: policy should make consistent decisions about osr levels

Added feedback disabling flag to common(), fixed handling of TieredStopAtLevel.

Reviewed-by: kvn, never
This commit is contained in:
Igor Veresov 2011-07-20 18:04:17 -07:00
parent 8acdd5ce55
commit aa89b8c08d
9 changed files with 101 additions and 110 deletions

View file

@ -98,6 +98,7 @@ public:
if (is_c2_compile(comp_level)) return c2_count();
return 0;
}
virtual CompLevel initial_compile_level() { return MIN2((CompLevel)TieredStopAtLevel, CompLevel_initial_compile); }
virtual void do_safepoint_work() { }
virtual void delay_compilation(methodOop method) { }
virtual void disable_compilation(methodOop method) { }