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.
More robust would be to just use os::current_thread_id(), which should always work.
- relates to
-
JDK-8046148 JEP 158: Unified JVM Logging
-
- Closed
-