int VRMutex::enter(ExceptionSink *xsink) { int mtid = gettid(); VLock *nvl = getVLock(); AutoLocker al(&asl_lock); int rc = VRMutex::grabImpl(mtid, nvl, xsink); if (!rc) mark_and_push(mtid, nvl); return rc; }
void MarkSweep::KeepAliveClosure::do_oop(oop* p) { #ifdef VALIDATE_MARK_SWEEP if (ValidateMarkSweep) { if (!Universe::heap()->is_in_reserved(p)) { _root_refs_stack->push(p); } else { _other_refs_stack->push(p); } } #endif mark_and_push(p); }
inline void ParCompactionManager::follow_klass(Klass* klass) { oop holder = klass->klass_holder(); mark_and_push(&holder); }
void MarkSweep::MarkAndPushClosure::do_oop(narrowOop* p) { mark_and_push(p); }
void MarkSweep::MarkAndPushClosure::do_oop(oop* p) { assert(*p == NULL || (*p)->is_oop(), ""); mark_and_push(p); }
template <class T> inline void MarkSweep::KeepAliveClosure::do_oop_work(T* p) { mark_and_push(p); }