mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +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
|
@ -68,6 +68,7 @@ class ciMethod : public ciMetadata {
|
|||
int _max_locals;
|
||||
vmIntrinsics::ID _intrinsic_id;
|
||||
int _handler_count;
|
||||
int _nmethod_age;
|
||||
int _interpreter_invocation_count;
|
||||
int _interpreter_throwout_count;
|
||||
int _instructions_size;
|
||||
|
@ -168,6 +169,10 @@ class ciMethod : public ciMetadata {
|
|||
int interpreter_invocation_count() const { check_is_loaded(); return _interpreter_invocation_count; }
|
||||
int interpreter_throwout_count() const { check_is_loaded(); return _interpreter_throwout_count; }
|
||||
int size_of_parameters() const { check_is_loaded(); return _size_of_parameters; }
|
||||
int nmethod_age() const { check_is_loaded(); return _nmethod_age; }
|
||||
|
||||
// Should the method be compiled with an age counter?
|
||||
bool profile_aging() const;
|
||||
|
||||
// Code size for inlining decisions.
|
||||
int code_size_for_inlining();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue