equal
deleted
inserted
replaced
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(); |