< prev index next >

src/share/vm/runtime/thread.cpp

Print this page
rev 13201 : imported patch 8183545

*** 2190,2199 **** --- 2190,2204 ---- } if (check_asyncs) { check_and_handle_async_exceptions(); } + #if INCLUDE_TRACE + if (is_trace_suspend()) { + TRACE_SUSPEND_THREAD(this); + } + #endif } void JavaThread::send_thread_stop(oop java_throwable) { assert(Thread::current()->is_VM_thread(), "should be in the vm thread"); assert(Threads_lock->is_locked(), "Threads_lock should be locked by safepoint code");
*** 2420,2429 **** --- 2425,2439 ---- f.deoptimize(thread); } else { fatal("missed deoptimization!"); } } + #if INCLUDE_TRACE + if (thread->is_trace_suspend()) { + TRACE_SUSPEND_THREAD(thread); + } + #endif } // Slow path when the native==>VM/Java barriers detect a safepoint is in // progress or when _suspend_flags is non-zero. // Current thread needs to self-suspend if there is a suspend request and/or
< prev index next >