< prev index next >

src/hotspot/share/prims/jvmtiImpl.cpp

Print this page
rev 47819 : imported patch 10.07.open.rebase_20171110.dcubed

*** 44,53 **** --- 44,54 ---- #include "runtime/javaCalls.hpp" #include "runtime/os.hpp" #include "runtime/serviceThread.hpp" #include "runtime/signature.hpp" #include "runtime/thread.inline.hpp" + #include "runtime/threadSMR.hpp" #include "runtime/vframe.hpp" #include "runtime/vframe_hp.hpp" #include "runtime/vm_operations.hpp" #include "utilities/exceptions.hpp"
*** 876,889 **** } void JvmtiSuspendControl::print() { #ifndef PRODUCT - MutexLocker mu(Threads_lock); LogStreamHandle(Trace, jvmti) log_stream; log_stream.print("Suspended Threads: ["); ! for (JavaThread *thread = Threads::first(); thread != NULL; thread = thread->next()) { #ifdef JVMTI_TRACE const char *name = JvmtiTrace::safe_get_thread_name(thread); #else const char *name = ""; #endif /*JVMTI_TRACE */ --- 877,889 ---- } void JvmtiSuspendControl::print() { #ifndef PRODUCT LogStreamHandle(Trace, jvmti) log_stream; log_stream.print("Suspended Threads: ["); ! for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) { #ifdef JVMTI_TRACE const char *name = JvmtiTrace::safe_get_thread_name(thread); #else const char *name = ""; #endif /*JVMTI_TRACE */
< prev index next >