7017434: Tiered needs to support reprofiling

Tiered needs to support proper method reprofiling after deopts.

Reviewed-by: kvn
This commit is contained in:
Igor Veresov 2011-02-09 16:34:34 -08:00
parent 287139e5a5
commit 6782422f01
5 changed files with 86 additions and 44 deletions

View file

@ -764,11 +764,13 @@ void methodDataOopDesc::initialize(methodHandle method) {
if (TieredCompilation) {
_invocation_counter.init();
_backedge_counter.init();
_invocation_counter_start = 0;
_backedge_counter_start = 0;
_num_loops = 0;
_num_blocks = 0;
_highest_comp_level = 0;
_highest_osr_comp_level = 0;
_would_profile = false;
_would_profile = true;
}
set_creation_mileage(mileage_of(method()));