Lines Matching refs:nmethod
27 #include "code/nmethod.hpp"
109 void NMethodSweeper::record_sweep(nmethod* nm, int line) {
130 nmethod* NMethodSweeper::_current = NULL; // Current nmethod
161 // If we see an activation belonging to a non_entrant nmethod, we mark it.
162 if (cb->is_nmethod() && ((nmethod*)cb)->is_not_entrant()) {
163 ((nmethod*)cb)->mark_as_seen_on_stack();
189 assert(CodeCache::find_blob_unsafe(_current) == _current, "Sweeper nmethod cached state invalid");
297 // to the next nmethod. Other blobs can be deleted by other
299 nmethod* next = CodeCache::next_nmethod(_current);
301 // Now ready to process nmethod and give up CodeCache_lock
361 NMethodMarker(nmethod* nm) {
371 void NMethodSweeper::process_nmethod(nmethod *nm) {
374 // Make sure this nmethod doesn't get unloaded during the scan,
396 // If it is first time, we see nmethod then we mark it. Otherwise,
431 // we coudn't transition this nmethod so don't immediately
478 // stack traversal after the current one, the nmethod will be marked non-entrant and
480 // _code field is restored and the methodOop/nmethod
539 nmethod* nm = CodeCache::alive_nmethod(CodeCache::first());