8306883: Thread stacksize is reported with wrong units in os::create_thread logging
Reviewed-by: shade
This commit is contained in:
parent
9ebcda2165
commit
27c5c1070a
@ -892,9 +892,9 @@ bool os::create_attached_thread(JavaThread* thread) {
|
||||
PosixSignals::hotspot_sigmask(thread);
|
||||
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", kernel thread id: " UINTX_FORMAT
|
||||
", stack: " PTR_FORMAT " - " PTR_FORMAT " (" SIZE_FORMAT "k) ).",
|
||||
", 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());
|
||||
p2i(thread->stack_base()), p2i(thread->stack_end()), thread->stack_size() / K);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -708,9 +708,9 @@ bool os::create_attached_thread(JavaThread* thread) {
|
||||
PosixSignals::hotspot_sigmask(thread);
|
||||
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", pthread id: " UINTX_FORMAT
|
||||
", stack: " PTR_FORMAT " - " PTR_FORMAT " (" SIZE_FORMAT "k) ).",
|
||||
", 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());
|
||||
p2i(thread->stack_base()), p2i(thread->stack_end()), thread->stack_size() / K);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1025,7 +1025,7 @@ bool os::create_attached_thread(JavaThread* thread) {
|
||||
PosixSignals::hotspot_sigmask(thread);
|
||||
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", pthread id: " UINTX_FORMAT
|
||||
", stack: " PTR_FORMAT " - " PTR_FORMAT " (" SIZE_FORMAT "k) ).",
|
||||
", 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() / K);
|
||||
|
||||
|
@ -621,9 +621,9 @@ bool os::create_attached_thread(JavaThread* thread) {
|
||||
thread->set_osthread(osthread);
|
||||
|
||||
log_info(os, thread)("Thread attached (tid: " UINTX_FORMAT ", stack: "
|
||||
PTR_FORMAT " - " PTR_FORMAT " (" SIZE_FORMAT "k) ).",
|
||||
PTR_FORMAT " - " PTR_FORMAT " (" SIZE_FORMAT "K) ).",
|
||||
os::current_thread_id(), p2i(thread->stack_base()),
|
||||
p2i(thread->stack_end()), thread->stack_size());
|
||||
p2i(thread->stack_end()), thread->stack_size() / K);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user