RFR: JDK-8312394: [linux] SIGSEGV if kernel was built without hugepage support
Thomas Stuefe
stuefe at openjdk.org
Thu Jul 20 10:26:57 UTC 2023
On Thu, 20 Jul 2023 02:24:05 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Somewhat trivial fixes. Hugepage detection crashes on systems whose kernels have no support compiled in for them.
>>
>> - check the result of opendir() before using
>> - don't scan for hugepages at all if we don't have a default hugepage.
>
> Seems reasonable. But does the logging output in print_on need updating to reflect this special case?
>
> Thanks.
Thanks @dholmes-ora and @shipilev.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14936#issuecomment-1643662662
More information about the hotspot-runtime-dev
mailing list