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

David Holmes dholmes at openjdk.org
Mon May 27 12:15:04 UTC 2024


On Mon, 27 May 2024 07:49:00 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> 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

The comment says raise is broken, it just doesn't say exactly  how, though it is implied by the "we need to explicitly target the current thread".

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

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


More information about the hotspot-dev mailing list