src/share/vm/runtime/serviceThread.cpp
Print this page
*** 68,82 ****
java_lang_Thread::set_thread(thread_oop(), thread);
java_lang_Thread::set_priority(thread_oop(), NearMaxPriority);
java_lang_Thread::set_daemon(thread_oop());
thread->set_threadObj(thread_oop());
Threads::add(thread);
Thread::start(thread);
-
- _instance = thread;
}
}
void ServiceThread::service_thread_entry(JavaThread* jt, TRAPS) {
while (true) {
--- 68,81 ----
java_lang_Thread::set_thread(thread_oop(), thread);
java_lang_Thread::set_priority(thread_oop(), NearMaxPriority);
java_lang_Thread::set_daemon(thread_oop());
thread->set_threadObj(thread_oop());
+ _instance = thread;
Threads::add(thread);
Thread::start(thread);
}
}
void ServiceThread::service_thread_entry(JavaThread* jt, TRAPS) {
while (true) {