RFR: 8323576: [Windows] Fallthrough to ::abort instead of os::infinite_sleep for noreturn methods
David Holmes
dholmes at openjdk.org
Mon Mar 25 00:57:25 UTC 2024
On Fri, 22 Mar 2024 10:48:33 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`.
>
> @dholmes-ora Sorry for the page, is Kim around?
@TheShermanTanker Kim may have GH notifications disabled, as I do, so may not have seen your earlier page. Trying paging via JBS or else direct email. AFAIK Kim is around.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17366#issuecomment-2017029891
More information about the hotspot-runtime-dev
mailing list