mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7092905: C2: Keep track of the number of dead nodes
Keep an (almost) accurate running count of the reachable (live) flow graph nodes. Reviewed-by: kvn, twisti, jrose, vlivanov
This commit is contained in:
parent
96562be9e5
commit
2d2532e740
28 changed files with 306 additions and 120 deletions
|
@ -601,8 +601,8 @@ Parse::Parse(JVMState* caller, ciMethod* parse_method, float expected_uses)
|
|||
set_map(entry_map);
|
||||
do_exits();
|
||||
|
||||
if (log) log->done("parse nodes='%d' memory='%d'",
|
||||
C->unique(), C->node_arena()->used());
|
||||
if (log) log->done("parse nodes='%d' live='%d' memory='%d'",
|
||||
C->unique(), C->live_nodes(), C->node_arena()->used());
|
||||
}
|
||||
|
||||
//---------------------------do_all_blocks-------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue