Skip to content

Commit a3f1b33

Browse files
caojoshuaDamonFool
authored andcommittedNov 9, 2023
8319664: IGV always output on PhaseRemoveUseless
Reviewed-by: rcastanedalo, thartmann
1 parent f57b78c commit a3f1b33

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎src/hotspot/share/opto/compile.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,6 @@ Compile::Compile( ciEnv* ci_env, ciMethod* target, int osr_bci,
812812

813813
if (failing()) return;
814814

815-
print_method(PHASE_BEFORE_REMOVEUSELESS, 3);
816-
817815
// Remove clutter produced by parsing.
818816
if (!failing()) {
819817
ResourceMark rm;

‎src/hotspot/share/opto/phaseX.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ NodeHash::~NodeHash() {
364364
//------------------------------PhaseRemoveUseless-----------------------------
365365
// 1) Use a breadthfirst walk to collect useful nodes reachable from root.
366366
PhaseRemoveUseless::PhaseRemoveUseless(PhaseGVN* gvn, Unique_Node_List& worklist, PhaseNumber phase_num) : Phase(phase_num) {
367+
C->print_method(PHASE_BEFORE_REMOVEUSELESS, 3);
367368
// Implementation requires an edge from root to each SafePointNode
368369
// at a backward branch. Inserted in add_safepoint().
369370

0 commit comments

Comments
 (0)
Please sign in to comment.