Relates :
|
To print the "tid" decorator for the current thread, Unified Logging uses Thread::current(). That will not work for the time before the TLS slot for the thread is initialized and after it is cleaned up. More robust would be to just use os::current_thread_id(), which should always work.