mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8020151: PSR:PERF Large performance regressions when code cache is filled
Code cache sweeping based on method hotness; removed speculatively disconnect Reviewed-by: kvn, iveresov
This commit is contained in:
parent
441f1d74cf
commit
0dee555ead
15 changed files with 240 additions and 418 deletions
|
@ -519,8 +519,8 @@ void SafepointSynchronize::do_cleanup_tasks() {
|
|||
}
|
||||
|
||||
{
|
||||
TraceTime t4("sweeping nmethods", TraceSafepointCleanupTime);
|
||||
NMethodSweeper::scan_stacks();
|
||||
TraceTime t4("mark nmethods", TraceSafepointCleanupTime);
|
||||
NMethodSweeper::mark_active_nmethods();
|
||||
}
|
||||
|
||||
if (SymbolTable::needs_rehashing()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue