mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8267209: Child threads should defer logging to after child-parent handshake
Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
ae986bc8df
commit
f40c89e8e9
2 changed files with 6 additions and 6 deletions
|
@ -552,9 +552,6 @@ static void *thread_native_entry(Thread *thread) {
|
|||
|
||||
osthread->set_thread_id(os::Bsd::gettid());
|
||||
|
||||
log_info(os, thread)("Thread is alive (tid: " UINTX_FORMAT ", pthread id: " UINTX_FORMAT ").",
|
||||
os::current_thread_id(), (uintx) pthread_self());
|
||||
|
||||
#ifdef __APPLE__
|
||||
// Store unique OS X thread id used by SA
|
||||
osthread->set_unique_thread_id();
|
||||
|
@ -587,6 +584,9 @@ static void *thread_native_entry(Thread *thread) {
|
|||
}
|
||||
}
|
||||
|
||||
log_info(os, thread)("Thread is alive (tid: " UINTX_FORMAT ", pthread id: " UINTX_FORMAT ").",
|
||||
os::current_thread_id(), (uintx) pthread_self());
|
||||
|
||||
// call one more level start routine
|
||||
thread->call_run();
|
||||
|
||||
|
|
|
@ -684,9 +684,6 @@ static void *thread_native_entry(Thread *thread) {
|
|||
|
||||
osthread->set_thread_id(os::current_thread_id());
|
||||
|
||||
log_info(os, thread)("Thread is alive (tid: " UINTX_FORMAT ", pthread id: " UINTX_FORMAT ").",
|
||||
os::current_thread_id(), (uintx) pthread_self());
|
||||
|
||||
if (UseNUMA) {
|
||||
int lgrp_id = os::numa_get_group_id();
|
||||
if (lgrp_id != -1) {
|
||||
|
@ -713,6 +710,9 @@ static void *thread_native_entry(Thread *thread) {
|
|||
}
|
||||
}
|
||||
|
||||
log_info(os, thread)("Thread is alive (tid: " UINTX_FORMAT ", pthread id: " UINTX_FORMAT ").",
|
||||
os::current_thread_id(), (uintx) pthread_self());
|
||||
|
||||
assert(osthread->pthread_id() != 0, "pthread_id was not set as expected");
|
||||
|
||||
// call one more level start routine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue