equal
deleted
inserted
replaced
156 Tickspan NMethodSweeper::_total_time_sweeping; // Accumulated time sweeping |
156 Tickspan NMethodSweeper::_total_time_sweeping; // Accumulated time sweeping |
157 Tickspan NMethodSweeper::_total_time_this_sweep; // Total time this sweep |
157 Tickspan NMethodSweeper::_total_time_this_sweep; // Total time this sweep |
158 Tickspan NMethodSweeper::_peak_sweep_time; // Peak time for a full sweep |
158 Tickspan NMethodSweeper::_peak_sweep_time; // Peak time for a full sweep |
159 Tickspan NMethodSweeper::_peak_sweep_fraction_time; // Peak time sweeping one fraction |
159 Tickspan NMethodSweeper::_peak_sweep_fraction_time; // Peak time sweeping one fraction |
160 |
160 |
161 Monitor* NMethodSweeper::_stat_lock = new Monitor(Mutex::special, "Sweeper::Statistics", true); |
161 Monitor* NMethodSweeper::_stat_lock = new Monitor(Mutex::special, "Sweeper::Statistics", true, Monitor::_safepoint_check_sometimes); |
162 |
162 |
163 class MarkActivationClosure: public CodeBlobClosure { |
163 class MarkActivationClosure: public CodeBlobClosure { |
164 public: |
164 public: |
165 virtual void do_code_blob(CodeBlob* cb) { |
165 virtual void do_code_blob(CodeBlob* cb) { |
166 assert(cb->is_nmethod(), "CodeBlob should be nmethod"); |
166 assert(cb->is_nmethod(), "CodeBlob should be nmethod"); |