comparison src/share/vm/opto/parse1.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 beebba0acc11
children 5698813d45eb
comparison
equal deleted inserted replaced
7195:2cd5e15048e6 7196:2aff40cb4703
599 599
600 // Fix up all exiting control flow. 600 // Fix up all exiting control flow.
601 set_map(entry_map); 601 set_map(entry_map);
602 do_exits(); 602 do_exits();
603 603
604 if (log) log->done("parse nodes='%d' memory='%d'", 604 if (log) log->done("parse nodes='%d' live='%d' memory='%d'",
605 C->unique(), C->node_arena()->used()); 605 C->unique(), C->live_nodes(), C->node_arena()->used());
606 } 606 }
607 607
608 //---------------------------do_all_blocks------------------------------------- 608 //---------------------------do_all_blocks-------------------------------------
609 void Parse::do_all_blocks() { 609 void Parse::do_all_blocks() {
610 bool has_irreducible = flow()->has_irreducible_entry(); 610 bool has_irreducible = flow()->has_irreducible_entry();