mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8032463: VirtualDispatch test timeout with DeoptimizeALot
Introduce code aging for warm method detection Reviewed-by: kvn, twisti
This commit is contained in:
parent
5938d3d5b9
commit
54db2c2d61
27 changed files with 283 additions and 69 deletions
|
@ -2059,6 +2059,7 @@ private:
|
|||
// Counter values at the time profiling started.
|
||||
int _invocation_counter_start;
|
||||
int _backedge_counter_start;
|
||||
uint _tenure_traps;
|
||||
|
||||
#if INCLUDE_RTM_OPT
|
||||
// State of RTM code generation during compilation of the method
|
||||
|
@ -2398,6 +2399,12 @@ public:
|
|||
method()->set_not_compilable(CompLevel_full_optimization, true, "decompile_count > PerMethodRecompilationCutoff");
|
||||
}
|
||||
}
|
||||
uint tenure_traps() const {
|
||||
return _tenure_traps;
|
||||
}
|
||||
void inc_tenure_traps() {
|
||||
_tenure_traps += 1;
|
||||
}
|
||||
|
||||
// Return pointer to area dedicated to parameters in MDO
|
||||
ParametersTypeData* parameters_type_data() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue