Skip to content

Conversation

@TheRealMDoerr
Copy link
Member

@TheRealMDoerr TheRealMDoerr commented Dec 16, 2025

Cherry-picked #2138 and a required test fix (JDK-8366874) which is also in OpenJDK 25.0.3. Fixed my email address which got broken in my original commit (by force-push).

fixes #2137

…sparentHugePages

Reviewed-by: ayang, shade, stefank, tschatzl
@TheRealMDoerr TheRealMDoerr changed the base branch from sapmachine to sapmachine25 December 16, 2025 13:23
… configurations (#2138)

Linux: Enable UseTransparentHugePages if
- UseLargePages and UseTransparentHugePages are not set explicitly
- transparent huge pages are supported by the system configuration and the huge pages size is not above 2MB
- UseZGC or UseShenandoahGC are not selected
- the Java Heap is not set to 128MB or lower
@TheRealMDoerr TheRealMDoerr force-pushed the 25u_2137_TransparentHugePages branch from 621f2c6 to 31da624 Compare December 17, 2025 13:27
@SapMachine
Copy link
Member

Hello @TheRealMDoerr, this pull request fulfills all formal requirements.

Copy link
Member

@RealCLanger RealCLanger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are lots of test errors but I checked them and they do not seem related to this PR's changes 😄

@RealCLanger RealCLanger merged commit 4fd5a5a into sapmachine25 Dec 18, 2025
127 of 138 checks passed
@RealCLanger RealCLanger deleted the 25u_2137_TransparentHugePages branch December 18, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux: We should use transparent huge pages in some configurations

6 participants