mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8283692: Add PrintIdealPhase that includes block scheduling
Reviewed-by: kvn, chagedorn
This commit is contained in:
parent
ab17f88f6c
commit
fe670ff403
4 changed files with 31 additions and 12 deletions
|
@ -548,7 +548,13 @@ void Compile::print_ideal_ir(const char* phase_name) {
|
|||
is_osr_compilation() ? " compile_kind='osr'" : "",
|
||||
phase_name);
|
||||
}
|
||||
root()->dump(9999);
|
||||
if (_output == nullptr) {
|
||||
root()->dump(9999);
|
||||
} else {
|
||||
// Dump the node blockwise if we have a scheduling
|
||||
_output->print_scheduling();
|
||||
}
|
||||
|
||||
if (xtty != NULL) {
|
||||
xtty->tail("ideal");
|
||||
}
|
||||
|
@ -624,7 +630,8 @@ Compile::Compile( ciEnv* ci_env, ciMethod* target, int osr_bci,
|
|||
_replay_inline_data(NULL),
|
||||
_java_calls(0),
|
||||
_inner_loops(0),
|
||||
_interpreter_frame_size(0)
|
||||
_interpreter_frame_size(0),
|
||||
_output(NULL)
|
||||
#ifndef PRODUCT
|
||||
, _in_dump_cnt(0)
|
||||
#endif
|
||||
|
@ -898,6 +905,7 @@ Compile::Compile( ciEnv* ci_env,
|
|||
_java_calls(0),
|
||||
_inner_loops(0),
|
||||
_interpreter_frame_size(0),
|
||||
_output(NULL),
|
||||
#ifndef PRODUCT
|
||||
_in_dump_cnt(0),
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue