Lines Matching defs:thread

269   { JavaThread* thread = (JavaThread*)THREAD;
270 assert(thread->is_Java_thread(), "must be java thread");
271 HandleMark hm(thread);
272 ThreadToNativeFromVM ttn(thread);
273 js = (_to_java_string_fn)(thread->jni_environment(), str);
294 { JavaThread* thread = (JavaThread*)THREAD;
295 assert(thread->is_Java_thread(), "must be java thread");
296 JNIEnv *env = thread->jni_environment();
299 HandleMark hm(thread);
300 ThreadToNativeFromVM ttn(thread);
792 // platform thread structure, and a eetop offset which was used for thread
794 // merged, so in the HotSpot VM we just use the eetop field for the thread
838 JavaThread* java_lang_Thread::thread(oop java_thread) {
843 void java_lang_Thread::set_thread(oop java_thread, JavaThread* thread) {
844 java_thread->address_field_put(_eetop_offset, (address)thread);
888 JavaThread* thr = java_lang_Thread::thread(java_thread);
921 // Write the thread status value to threadStatus field in java.lang.Thread java class.
930 // Read thread status value from threadStatus field in java.lang.Thread java class.
943 JavaThread* thr = java_lang_Thread::thread(java_thread);
945 // the thread hasn't run yet or is in the process of exiting
954 // The thread ID field is only present starting in 1.5
990 assert(JDK_Version::is_gte_jdk15x_version() && _thread_status_offset != 0, "Must have thread status");
1017 assert(java_thread_group->is_oop(), "thread group must be oop");
1030 assert(java_thread_group->is_oop(), "thread group must be oop");
1042 assert(java_thread_group->is_oop(), "thread group must be oop");
1053 assert(java_thread_group->is_oop(), "thread group must be oop");
1058 assert(java_thread_group->is_oop(), "thread group must be oop");
1063 assert(java_thread_group->is_oop(), "thread group must be oop");
1068 assert(java_thread_group->is_oop(), "thread group must be oop");
1302 Thread *thread = Thread::current();
1303 Handle stream(thread, print_stream);
1304 objArrayHandle result (thread, objArrayOop(backtrace(throwable)));
1311 objArrayHandle methods (thread,
1313 typeArrayHandle bcis (thread,
1328 result = objArrayHandle(thread, objArrayOop(result->obj_at(trace_next_offset)));
1435 JavaThread* thread = (JavaThread*)THREAD;
1440 if (!thread->has_last_Java_frame()) {
1455 vframeStream st(thread);
1459 RegisterMap map(thread, false);
1466 for (frame fr = thread->last_frame(); max_depth != total_count;) {
1568 JavaThread* thread = JavaThread::active();
1569 fill_in_stack_trace(throwable, method, thread);
1615 JavaThread* thread = JavaThread::current();
1616 ResourceMark rm(thread);
1617 vframeStream st(thread);