Lines Matching defs:thread
441 // are trying to shutdown the VM at the same time, only one thread
443 void before_exit(JavaThread * thread) {
452 // thread state for Safepoint. Here we use Monitor wait() and notify_all()
485 // Terminate watcher thread - must before disenrolling any periodic task
525 JvmtiExport::post_thread_end(thread);
531 event.set_javalangthread(java_lang_Thread::thread_id(thread->threadObj()));
540 // Terminate the signal thread
562 Thread* thread = ThreadLocalStorage::is_initialized() ?
564 if (thread == NULL) {
572 if (thread->is_Java_thread())
573 ((JavaThread*)thread)->set_thread_state(_thread_in_vm);
578 // VM thread is gone, just exit
602 // Calling 'exit_globals()' will disable thread-local-storage and cause all
605 Thread* thread = ThreadLocalStorage::is_initialized() ?
607 if (thread != NULL && thread->is_Java_thread()) {
610 JavaThread* jt = (JavaThread*)thread;
652 // If there are exceptions on this thread it must be cleared