Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/safepoint.cpp @ 12324:510fbd28919c
8020151: PSR:PERF Large performance regressions when code cache is filled
Summary: Code cache sweeping based on method hotness; removed speculatively disconnect
Reviewed-by: kvn, iveresov
author | anoll |
---|---|
date | Fri, 27 Sep 2013 10:50:55 +0200 |
parents | cc32ccaaf47f |
children | 268e7a2178d7 |
comparison
equal
deleted
inserted
replaced
12323:c9ccd7b85f20 | 12324:510fbd28919c |
---|---|
517 TraceTime t3("compilation policy safepoint handler", TraceSafepointCleanupTime); | 517 TraceTime t3("compilation policy safepoint handler", TraceSafepointCleanupTime); |
518 CompilationPolicy::policy()->do_safepoint_work(); | 518 CompilationPolicy::policy()->do_safepoint_work(); |
519 } | 519 } |
520 | 520 |
521 { | 521 { |
522 TraceTime t4("sweeping nmethods", TraceSafepointCleanupTime); | 522 TraceTime t4("mark nmethods", TraceSafepointCleanupTime); |
523 NMethodSweeper::scan_stacks(); | 523 NMethodSweeper::mark_active_nmethods(); |
524 } | 524 } |
525 | 525 |
526 if (SymbolTable::needs_rehashing()) { | 526 if (SymbolTable::needs_rehashing()) { |
527 TraceTime t5("rehashing symbol table", TraceSafepointCleanupTime); | 527 TraceTime t5("rehashing symbol table", TraceSafepointCleanupTime); |
528 SymbolTable::rehash_table(); | 528 SymbolTable::rehash_table(); |