RFR: 8323576: [Windows] Fallthrough to std::abort instead of os::infinite_sleep for noreturn methods
David Holmes
dholmes at openjdk.org
Tue Jan 16 01:59:18 UTC 2024
On Mon, 15 Jan 2024 15:31:57 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> is there a difference between std:: and :: for C methods?
There are differences between C++ exit and C exit, as the former performs additional C++ cleanup - that said I'm unclear if we actually end up executing the C or the C++ version of the function! But we don't use the `std::` namespace in this area. Also we have the `ALLOW_C_FUNCTION` macros to make it clear that it is correct to be calling something like `::exit` or `::abort` rather than `os::exit` or `os::abort`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17366#issuecomment-1892959373
More information about the hotspot-runtime-dev
mailing list