8247319: Remove on-stack nmethod hotness counter sampling from safepoints

Reviewed-by: kvn, dholmes
This commit is contained in:
Erik Österlund 2020-06-23 11:59:13 +00:00
parent a10a9284c1
commit 2765410a28
5 changed files with 5 additions and 47 deletions

View file

@ -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;