[jdk21u] RFR: 8312394: [linux] SIGSEGV if kernel was built without hugepage support

Thomas Stuefe stuefe at openjdk.org
Thu Aug 24 06:31:47 UTC 2023


Hi all,

This patch is one in a small line of preparatory patches that aim, ultimately, to fix https://bugs.openjdk.org/browse/JDK-8312182 ("THPs cause huge RSS due to thread start timing issue").

This particular patch fixes an issue where the JVM would crash on startup when started on a linux box with a kernel that does not support hugepages (mostly affected by this are small SBCs)

-------------

Commit messages:
 - Backport 94eb44b192ba421692549a178c386ea34164ea50

Changes: https://git.openjdk.org/jdk21u/pull/97/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk21u&pr=97&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8312394
  Stats: 22 lines in 1 file changed: 6 ins; 2 del; 14 mod
  Patch: https://git.openjdk.org/jdk21u/pull/97.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u.git pull/97/head:pull/97

PR: https://git.openjdk.org/jdk21u/pull/97


More information about the jdk-updates-dev mailing list