RFR: 8332894: ubsan: vmError.cpp:2090:26: runtime error: division by zero [v2]

Matthias Baesken mbaesken at openjdk.org
Mon May 27 07:52:01 UTC 2024


On Mon, 27 May 2024 07:38:52 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> I do not know about the OSX specific issues, maybe someone else can comment?
>> Regarding the handling on UNIX, Thomas commented and I think the coding should better stay.
>
> macOS `raise` raises the signal to the process not the thread (per Posix requirements).

Hi David, so the comment

// OSX implements raise(sig) incorrectly so we need to
// explicitly target the current thread

seems to be not correct, should we change it e.g. to your comment 


// macOS raise raises the signal to the process not the thread (per Posix requirements)
// so we need to explicitly target the current thread

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/19394#discussion_r1615622848


More information about the hotspot-dev mailing list