Currently on Mac we use pthread_mach_thread_np(pthread_self()) for thread id displayed in hs_err_pid crash log file, which doesn't correlate with either lldb, nor Apple crash log file.
We should use the same thread id as lldb (and our own Servicability Agent), and possibly also show the thread name (on all platforms), just like Apple's own crash log shows.
We should use the same thread id as lldb (and our own Servicability Agent), and possibly also show the thread name (on all platforms), just like Apple's own crash log shows.
- relates to
-
JDK-8235962 os::current_thread_id() is not signal safe on macOS
- Resolved