RFR: JDK-8312394: [linux] SIGSEGV if kernel was built without hugepage support
Aleksey Shipilev
shade at openjdk.org
Thu Jul 20 09:57:41 UTC 2023
On Wed, 19 Jul 2023 14:11:28 GMT, Thomas Stuefe <stuefe 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.
Looks reasonable.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14936#pullrequestreview-1538894814
More information about the hotspot-runtime-dev
mailing list