mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6667042: PrintAssembly option does not work without special plugin
Remove old private plugin interface, simplify, rework old plugin to use unchanged Gnu sources Reviewed-by: kvn, rasbold
This commit is contained in:
parent
0530e0d854
commit
0d27a8639f
43 changed files with 1675 additions and 629 deletions
|
@ -456,7 +456,15 @@ Compile::Compile( ciEnv* ci_env, C2Compiler* compiler, ciMethod* target, int osr
|
|||
}
|
||||
TraceTime t1("Total compilation time", &_t_totalCompilation, TimeCompiler, TimeCompiler2);
|
||||
TraceTime t2(NULL, &_t_methodCompilation, TimeCompiler, false);
|
||||
set_print_assembly(PrintOptoAssembly || _method->should_print_assembly());
|
||||
bool print_opto_assembly = PrintOptoAssembly || _method->has_option("PrintOptoAssembly");
|
||||
if (!print_opto_assembly) {
|
||||
bool print_assembly = (PrintAssembly || _method->should_print_assembly());
|
||||
if (print_assembly && !Disassembler::can_decode()) {
|
||||
tty->print_cr("PrintAssembly request changed to PrintOptoAssembly");
|
||||
print_opto_assembly = true;
|
||||
}
|
||||
}
|
||||
set_print_assembly(print_opto_assembly);
|
||||
#endif
|
||||
|
||||
if (ProfileTraps) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue