8290067: Show stack dimensions in UL logging when attaching threads
Reviewed-by: dholmes, mbaesken
This commit is contained in:
parent
257c71c35f
commit
7ff19694df
@ -889,8 +889,10 @@ bool os::create_attached_thread(JavaThread* thread) {
|
||||
// and save the caller's signal mask
|
||||
PosixSignals::hotspot_sigmask(thread);
|
||||
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", kernel thread id: " UINTX_FORMAT ").",
|
||||
os::current_thread_id(), (uintx) kernel_thread_id);
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", kernel thread id: " UINTX_FORMAT
|
||||
", stack: " PTR_FORMAT " - " PTR_FORMAT " (" SIZE_FORMAT "k) ).",
|
||||
os::current_thread_id(), (uintx) kernel_thread_id,
|
||||
p2i(thread->stack_base()), p2i(thread->stack_end()), thread->stack_size());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -710,9 +710,10 @@ bool os::create_attached_thread(JavaThread* thread) {
|
||||
// and save the caller's signal mask
|
||||
PosixSignals::hotspot_sigmask(thread);
|
||||
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", pthread id: " UINTX_FORMAT ").",
|
||||
os::current_thread_id(), (uintx) pthread_self());
|
||||
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", pthread id: " UINTX_FORMAT
|
||||
", stack: " PTR_FORMAT " - " PTR_FORMAT " (" SIZE_FORMAT "k) ).",
|
||||
os::current_thread_id(), (uintx) pthread_self(),
|
||||
p2i(thread->stack_base()), p2i(thread->stack_end()), thread->stack_size());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -966,8 +966,10 @@ bool os::create_attached_thread(JavaThread* thread) {
|
||||
// and save the caller's signal mask
|
||||
PosixSignals::hotspot_sigmask(thread);
|
||||
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", pthread id: " UINTX_FORMAT ").",
|
||||
os::current_thread_id(), (uintx) pthread_self());
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", pthread id: " UINTX_FORMAT
|
||||
", stack: " PTR_FORMAT " - " PTR_FORMAT " (" SIZE_FORMAT "k) ).",
|
||||
os::current_thread_id(), (uintx) pthread_self(),
|
||||
p2i(thread->stack_base()), p2i(thread->stack_end()), thread->stack_size());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -615,8 +615,10 @@ bool os::create_attached_thread(JavaThread* thread) {
|
||||
|
||||
thread->set_osthread(osthread);
|
||||
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ").",
|
||||
os::current_thread_id());
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", stack: "
|
||||
PTR_FORMAT " - " PTR_FORMAT " (" SIZE_FORMAT "k) ).",
|
||||
os::current_thread_id(), p2i(thread->stack_base()),
|
||||
p2i(thread->stack_end()), thread->stack_size());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user