hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 36078 954c49c0ba57
parent 35845 30025047885d
child 36299 3d75bb0d749b
equal deleted inserted replaced
36077:fa6d92de1c70 36078:954c49c0ba57
  1917 
  1917 
  1918   DTRACE_METHOD_COMPILE_END_PROBE(method, compiler_name(task_level), task->is_success());
  1918   DTRACE_METHOD_COMPILE_END_PROBE(method, compiler_name(task_level), task->is_success());
  1919 
  1919 
  1920   collect_statistics(thread, time, task);
  1920   collect_statistics(thread, time, task);
  1921 
  1921 
  1922   bool printnmethods = directive->PrintAssemblyOption || directive->PrintNMethodsOption;
  1922   nmethod* nm = task->code();
  1923   if (printnmethods || PrintDebugInfo || PrintRelocations || PrintDependencies || PrintExceptionHandlers) {
  1923   if (nm != NULL) {
  1924     nmethod* nm = task->code();
  1924     nm->maybe_print_nmethod(directive);
  1925     if (nm != NULL) {
       
  1926       nm->print_nmethod(printnmethods);
       
  1927     }
       
  1928   }
  1925   }
  1929   DirectivesStack::release(directive);
  1926   DirectivesStack::release(directive);
  1930 
  1927 
  1931   if (PrintCompilation && PrintCompilation2) {
  1928   if (PrintCompilation && PrintCompilation2) {
  1932     tty->print("%7d ", (int) tty->time_stamp().milliseconds());  // print timestamp
  1929     tty->print("%7d ", (int) tty->time_stamp().milliseconds());  // print timestamp