Mercurial > hg > truffle
diff src/share/vm/oops/methodDataOop.cpp @ 2252:72d6c57d0658
7017434: Tiered needs to support reprofiling
Summary: Tiered needs to support proper method reprofiling after deopts.
Reviewed-by: kvn
author | iveresov |
---|---|
date | Wed, 09 Feb 2011 16:34:34 -0800 |
parents | 8012aa3ccede |
children | a97fd181b813 |
line wrap: on
line diff
--- a/src/share/vm/oops/methodDataOop.cpp Tue Feb 08 16:12:16 2011 -0800 +++ b/src/share/vm/oops/methodDataOop.cpp Wed Feb 09 16:34:34 2011 -0800 @@ -764,11 +764,13 @@ 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()));