Lines Matching defs:thread

58 void VM_Operation::set_calling_thread(Thread* thread, ThreadPriority priority) {
59 _calling_thread = thread;
95 st->print(", requested by thread " PTR_FORMAT, calling_thread());
101 JavaThread* target = java_lang_Thread::thread(target_thread());
103 // thrown at a thread.
105 // the thread has run and is not already in the process of exiting
123 VM_DeoptimizeFrame::VM_DeoptimizeFrame(JavaThread* thread, intptr_t* id) {
124 _thread = thread;
140 for (JavaThread* thread = Threads::first(); thread != NULL; thread = thread->next()) {
141 if (thread->has_last_Java_frame()) {
142 thread->deoptimize();
151 for (JavaThread* thread = Threads::first(); thread != NULL; thread = thread->next()) {
152 if (thread->has_last_Java_frame()) {
158 for(StackFrameStream fst(thread, UseBiasedLocking); !fst.is_done(); fst.next()) {
162 Deoptimization::deoptimize(thread, *fst.current(), fst.register_map());
174 JavaThread *thread = (JavaThread *)calling_thread();
175 assert(thread->is_Java_thread(), "must be a Java thread");
176 thread->make_zombies();
182 JavaThread *thread = (JavaThread *)calling_thread();
183 assert(thread->is_Java_thread(), "must be a Java thread");
297 // Load AbstractOwnableSynchronizer class before taking thread snapshots
342 // A dummy snapshot is created if a thread doesn't exist
346 // skip if the thread doesn't exist
352 // Dump thread stack only if the thread is alive and not exiting
353 // and not VM internal thread.
354 JavaThread* jt = java_lang_Thread::thread(th());
355 if (jt == NULL || /* thread not alive */
394 thr->set_terminated(JavaThread::_vm_exited); // per-thread flag
414 // better to terminate VM when current thread is the only active thread, so
453 // Wait for a short period for threads in native to block. Any thread