Lines Matching defs:thread
46 inline void GC_locker::lock_critical(JavaThread* thread) {
47 if (!thread->in_critical()) {
50 // global lock count and per thread count are in agreement.
51 jni_lock(thread);
56 thread->enter_critical();
59 inline void GC_locker::unlock_critical(JavaThread* thread) {
60 if (thread->in_last_critical()) {
63 // the global lock count and per thread count are in agreement.
64 jni_unlock(thread);
69 thread->exit_critical();