comparison src/share/vm/opto/block.hpp @ 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 b9a9ed0f8eeb
children d1034bd8cefc
comparison
equal deleted inserted replaced
7195:2cd5e15048e6 7196:2aff40cb4703
290 Node *select(PhaseCFG *cfg, Node_List &worklist, GrowableArray<int> &ready_cnt, VectorSet &next_call, uint sched_slot); 290 Node *select(PhaseCFG *cfg, Node_List &worklist, GrowableArray<int> &ready_cnt, VectorSet &next_call, uint sched_slot);
291 void set_next_call( Node *n, VectorSet &next_call, Block_Array &bbs ); 291 void set_next_call( Node *n, VectorSet &next_call, Block_Array &bbs );
292 void needed_for_next_call(Node *this_call, VectorSet &next_call, Block_Array &bbs); 292 void needed_for_next_call(Node *this_call, VectorSet &next_call, Block_Array &bbs);
293 bool schedule_local(PhaseCFG *cfg, Matcher &m, GrowableArray<int> &ready_cnt, VectorSet &next_call); 293 bool schedule_local(PhaseCFG *cfg, Matcher &m, GrowableArray<int> &ready_cnt, VectorSet &next_call);
294 // Cleanup if any code lands between a Call and his Catch 294 // Cleanup if any code lands between a Call and his Catch
295 void call_catch_cleanup(Block_Array &bbs); 295 void call_catch_cleanup(Block_Array &bbs, Compile *C);
296 // Detect implicit-null-check opportunities. Basically, find NULL checks 296 // Detect implicit-null-check opportunities. Basically, find NULL checks
297 // with suitable memory ops nearby. Use the memory op to do the NULL check. 297 // with suitable memory ops nearby. Use the memory op to do the NULL check.
298 // I can generate a memory op if there is not one nearby. 298 // I can generate a memory op if there is not one nearby.
299 void implicit_null_check(PhaseCFG *cfg, Node *proj, Node *val, int allowed_reasons); 299 void implicit_null_check(PhaseCFG *cfg, Node *proj, Node *val, int allowed_reasons);
300 300