Integrated: JDK-8312394: [linux] SIGSEGV if kernel was built without hugepage support
Thomas Stuefe
stuefe at openjdk.org
Thu Jul 20 10:26:59 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.
This pull request has now been integrated.
Changeset: 94eb44b1
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/94eb44b192ba421692549a178c386ea34164ea50
Stats: 22 lines in 1 file changed: 6 ins; 2 del; 14 mod
8312394: [linux] SIGSEGV if kernel was built without hugepage support
Reviewed-by: dholmes, shade
-------------
PR: https://git.openjdk.org/jdk/pull/14936
More information about the hotspot-runtime-dev
mailing list