Mercurial > hg > graal-compiler
diff src/share/vm/opto/output.cpp @ 7196:2aff40cb4703
7092905: C2: Keep track of the number of dead nodes
Summary: keep an (almost) accurate running count of the reachable (live) flow graph nodes.
Reviewed-by: kvn, twisti, jrose, vlivanov
author | bharadwaj |
---|---|
date | Tue, 27 Nov 2012 17:24:15 -0800 |
parents | e626685e9f6c |
children | 291ffc492eb6 f15df3af32c5 |
line wrap: on
line diff
--- a/src/share/vm/opto/output.cpp Tue Nov 27 12:48:52 2012 -0800 +++ b/src/share/vm/opto/output.cpp Tue Nov 27 17:24:15 2012 -0800 @@ -513,7 +513,7 @@ } adjust_block_start += diff; b->_nodes.map(idx, replacement); - mach->subsume_by(replacement); + mach->subsume_by(replacement, C); mach = replacement; progress = true; @@ -1425,7 +1425,7 @@ jmp_rule[i] = mach->rule(); #endif b->_nodes.map(j, replacement); - mach->subsume_by(replacement); + mach->subsume_by(replacement, C); n = replacement; mach = replacement; }