equal
deleted
inserted
replaced
74 int _count; |
74 int _count; |
75 public: |
75 public: |
76 BitCounter() : _count(0) {} |
76 BitCounter() : _count(0) {} |
77 |
77 |
78 // Callback when bit in map is set |
78 // Callback when bit in map is set |
79 virtual void do_bit(size_t offset) { |
79 virtual bool do_bit(size_t offset) { |
80 _count++; |
80 _count++; |
|
81 return true; |
81 } |
82 } |
82 |
83 |
83 int count() { |
84 int count() { |
84 return _count; |
85 return _count; |
85 } |
86 } |
465 if (entry_bci == InvocationEntryBci) { |
466 if (entry_bci == InvocationEntryBci) { |
466 is_entry = true; |
467 is_entry = true; |
467 bci = 0; |
468 bci = 0; |
468 } |
469 } |
469 |
470 |
470 MethodLivenessResult answer(NULL,0); |
471 MethodLivenessResult answer((uintptr_t*)NULL,0); |
471 |
472 |
472 if (_block_count > 0) { |
473 if (_block_count > 0) { |
473 if (TimeLivenessAnalysis) _time_total.start(); |
474 if (TimeLivenessAnalysis) _time_total.start(); |
474 if (TimeLivenessAnalysis) _time_query.start(); |
475 if (TimeLivenessAnalysis) _time_query.start(); |
475 |
476 |