hotspot/src/share/vm/runtime/safepoint.cpp
changeset 20290 2127dc70bce9
parent 16670 4af09aff4237
child 20300 fe4818444117
equal deleted inserted replaced
20289:35d78de0c547 20290:2127dc70bce9
   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();