-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8358748: Large page size initialization fails with assert "page_size must be a power of 2" #25994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…must be a power of 2"
👋 Welcome back nelanbu! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
Webrevs
|
The |
The VM now exits gracefully if
-XX:LargePageSizeInBytes
is set to a non power of two value, instead of asserting. After this change,SizeTTest.java
failed because the tested values are not valid for-XX:LargePageSizeInBytes
(LargePageSizeInBytesConstraintFunc
returnsJVMFlag::VIOLATES_CONSTRAINT
). Therefore, I updated the test to useNUMASpaceResizeRate
, since I believe that it only requires a flag of typesize_t
.Before the change:
After the change:
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/25994/head:pull/25994
$ git checkout pull/25994
Update a local copy of the PR:
$ git checkout pull/25994
$ git pull https://git.openjdk.org/jdk.git pull/25994/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 25994
View PR using the GUI difftool:
$ git pr show -t 25994
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/25994.diff
Using Webrev
Link to Webrev Comment