Lines Matching defs:_current
130 nmethod* NMethodSweeper::_current = NULL; // Current nmethod
179 if ((_current == NULL && !_rescan) && !(UseCodeCacheFlushing && !CompileBroker::should_compile_new_jobs())) {
189 assert(CodeCache::find_blob_unsafe(_current) == _current, "Sweeper nmethod cached state invalid");
190 if (_current == NULL) {
193 _current = CodeCache::first_nmethod();
284 for (int i = 0; (i < todo || _invocations == 1) && _current != NULL; i++) {
299 nmethod* next = CodeCache::next_nmethod(_current);
304 process_nmethod(_current);
307 _current = next;
311 assert(_invocations > 1 || _current == NULL, "must have scanned the whole cache");
313 if (_current == NULL && !_rescan && (_locked_seen || _not_entrant_seen_on_stack)) {