Skip to content

8312394: [linux] SIGSEGV if kernel was built without hugepage support#3172

Closed
tabata-d wants to merge 4 commits into
openjdk:pr/3171from
tabata-d:JDK-8312394
Closed

8312394: [linux] SIGSEGV if kernel was built without hugepage support#3172
tabata-d wants to merge 4 commits into
openjdk:pr/3171from
tabata-d:JDK-8312394

Conversation

@tabata-d

@tabata-d tabata-d commented Mar 13, 2026

Copy link
Copy Markdown
Member

JDK-8312394 describes an issue where the JVM crashes on startup on Linux systems with kernels that do not support hugepages, specifically when the /sys/kernel/mm/hugepages directory is inaccessible. This regression was introduced by JDK-8310233.

The fix was originally implemented in JDK 22. Now we are backporting this into JDK 11.

I confirmed that it was reproduced on Linux x86_64 using JDK 11.

Unclean Backport

This backport is a clean backport, except that JDK 11 uses NULL instead of nullptr."

Testing

System: Red Hat Enterprise Linux 9.4 (x86_64).
jtreg: A comprehensive jtreg run on the entire hotspot/jtreg test suite confirmed that all HotSpot tests passed.



Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8312394 needs maintainer approval

Integration blocker

 ⚠️ Dependency #3171 must be integrated first

Issue

  • JDK-8312394: [linux] SIGSEGV if kernel was built without hugepage support (Bug - P3)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3172/head:pull/3172
$ git checkout pull/3172

Update a local copy of the PR:
$ git checkout pull/3172
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3172/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 3172

View PR using the GUI difftool:
$ git pr show -t 3172

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3172.diff

Using Webrev

Link to Webrev Comment

@tabata-d tabata-d changed the title initial commit backport 94eb44b192ba421692549a178c386ea34164ea50 Mar 13, 2026
@bridgekeeper

bridgekeeper Bot commented Mar 13, 2026

Copy link
Copy Markdown

👋 Welcome back dtabata! A progress list of the required criteria for merging this PR into pr/3171 will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk

openjdk Bot commented Mar 13, 2026

Copy link
Copy Markdown

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk Bot changed the title backport 94eb44b192ba421692549a178c386ea34164ea50 8312394: [linux] SIGSEGV if kernel was built without hugepage support Mar 13, 2026
@openjdk

openjdk Bot commented Mar 13, 2026

Copy link
Copy Markdown

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk Bot added the backport Port of a pull request already in a different code base label Mar 13, 2026
@openjdk openjdk Bot added the rfr Pull request is ready for review label Mar 13, 2026
@mlbridge

mlbridge Bot commented Mar 13, 2026

Copy link
Copy Markdown

Webrevs

@bridgekeeper

bridgekeeper Bot commented Apr 15, 2026

Copy link
Copy Markdown

@tabata-d This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@tabata-d

Copy link
Copy Markdown
Member Author

/touch

@openjdk

openjdk Bot commented Apr 15, 2026

Copy link
Copy Markdown

@tabata-d The pull request is being re-evaluated and the inactivity timeout has been reset.

@openjdk openjdk Bot removed the rfr Pull request is ready for review label Apr 15, 2026
@tabata-d

Copy link
Copy Markdown
Member Author

/template append

@openjdk

openjdk Bot commented Apr 22, 2026

Copy link
Copy Markdown

@tabata-d The pull request template has been appended to the pull request body

@openjdk openjdk Bot added the rfr Pull request is ready for review label Apr 22, 2026
@tabata-d

tabata-d commented Jun 8, 2026

Copy link
Copy Markdown
Member Author

After the discussion in #3210, I have decided to close this PR.

@tabata-d tabata-d closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Port of a pull request already in a different code base rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

2 participants