hg: jdk/jdk: 8235962: os::current_thread_id() is not signal safe on macOS

gerard.ziemski at oracle.com gerard.ziemski at oracle.com
Mon Feb 10 17:42:57 UTC 2020


Changeset: 49e01c6df096
Author:    gziemski
Date:      2020-02-10 11:41 -0600
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/49e01c6df096

8235962: os::current_thread_id() is not signal safe on macOS
Summary: Use mach_thread_self instead of pthread_mach_thread_np
Reviewed-by: dholmes, cjplummer

! src/hotspot/os/bsd/osThread_bsd.cpp
! src/hotspot/os/bsd/osThread_bsd.hpp
! src/hotspot/os/bsd/os_bsd.cpp



More information about the jdk-all-changes mailing list