mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 22:04:51 +02:00
7017434: Tiered needs to support reprofiling
Tiered needs to support proper method reprofiling after deopts. Reviewed-by: kvn
This commit is contained in:
parent
287139e5a5
commit
6782422f01
5 changed files with 86 additions and 44 deletions
|
@ -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()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue