equal
deleted
inserted
replaced
454 target->print_short_name(); |
454 target->print_short_name(); |
455 tty->print(" "); |
455 tty->print(" "); |
456 } |
456 } |
457 TraceTime t1("Total compilation time", &_t_totalCompilation, TimeCompiler, TimeCompiler2); |
457 TraceTime t1("Total compilation time", &_t_totalCompilation, TimeCompiler, TimeCompiler2); |
458 TraceTime t2(NULL, &_t_methodCompilation, TimeCompiler, false); |
458 TraceTime t2(NULL, &_t_methodCompilation, TimeCompiler, false); |
459 set_print_assembly(PrintOptoAssembly || _method->should_print_assembly()); |
459 bool print_opto_assembly = PrintOptoAssembly || _method->has_option("PrintOptoAssembly"); |
|
460 if (!print_opto_assembly) { |
|
461 bool print_assembly = (PrintAssembly || _method->should_print_assembly()); |
|
462 if (print_assembly && !Disassembler::can_decode()) { |
|
463 tty->print_cr("PrintAssembly request changed to PrintOptoAssembly"); |
|
464 print_opto_assembly = true; |
|
465 } |
|
466 } |
|
467 set_print_assembly(print_opto_assembly); |
460 #endif |
468 #endif |
461 |
469 |
462 if (ProfileTraps) { |
470 if (ProfileTraps) { |
463 // Make sure the method being compiled gets its own MDO, |
471 // Make sure the method being compiled gets its own MDO, |
464 // so we can at least track the decompile_count(). |
472 // so we can at least track the decompile_count(). |