mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8247319: Remove on-stack nmethod hotness counter sampling from safepoints
Reviewed-by: kvn, dholmes
This commit is contained in:
parent
a10a9284c1
commit
2765410a28
5 changed files with 5 additions and 47 deletions
|
@ -260,7 +260,7 @@ class nmethod : public CompiledMethod {
|
|||
// The _hotness_counter indicates the hotness of a method. The higher
|
||||
// the value the hotter the method. The hotness counter of a nmethod is
|
||||
// set to [(ReservedCodeCacheSize / (1024 * 1024)) * 2] each time the method
|
||||
// is active while stack scanning (mark_active_nmethods()). The hotness
|
||||
// is active while stack scanning (do_stack_scanning()). The hotness
|
||||
// counter is decreased (by 1) while sweeping.
|
||||
int _hotness_counter;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue