hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 35576 1f1cca67a48e
parent 35547 0ee84aa8e705
child 35592 5814f874d736
equal deleted inserted replaced
35575:92432f74992f 35576:1f1cca67a48e
  1882       }
  1882       }
  1883     }
  1883     }
  1884 
  1884 
  1885     post_compile(thread, task, event, !ci_env.failing(), &ci_env);
  1885     post_compile(thread, task, event, !ci_env.failing(), &ci_env);
  1886   }
  1886   }
       
  1887   pop_jni_handle_block();
       
  1888 
       
  1889   methodHandle method(thread, task->method());
       
  1890 
       
  1891   DTRACE_METHOD_COMPILE_END_PROBE(method, compiler_name(task_level), task->is_success());
       
  1892 
       
  1893   collect_statistics(thread, time, task);
       
  1894 
       
  1895   bool printnmethods = directive->PrintAssemblyOption || directive->PrintNMethodsOption;
       
  1896   if (printnmethods || PrintDebugInfo || PrintRelocations || PrintDependencies || PrintExceptionHandlers) {
       
  1897     nmethod* nm = task->code();
       
  1898     if (nm != NULL) {
       
  1899       nm->print_nmethod(printnmethods);
       
  1900     }
       
  1901   }
  1887   DirectivesStack::release(directive);
  1902   DirectivesStack::release(directive);
  1888   pop_jni_handle_block();
       
  1889 
       
  1890   methodHandle method(thread, task->method());
       
  1891 
       
  1892   DTRACE_METHOD_COMPILE_END_PROBE(method, compiler_name(task_level), task->is_success());
       
  1893 
       
  1894   collect_statistics(thread, time, task);
       
  1895 
  1903 
  1896   if (PrintCompilation && PrintCompilation2) {
  1904   if (PrintCompilation && PrintCompilation2) {
  1897     tty->print("%7d ", (int) tty->time_stamp().milliseconds());  // print timestamp
  1905     tty->print("%7d ", (int) tty->time_stamp().milliseconds());  // print timestamp
  1898     tty->print("%4d ", compile_id);    // print compilation number
  1906     tty->print("%4d ", compile_id);    // print compilation number
  1899     tty->print("%s ", (is_osr ? "%" : " "));
  1907     tty->print("%s ", (is_osr ? "%" : " "));