8378177: AllowExtshm flag cleanup on AIX#30103
8378177: AllowExtshm flag cleanup on AIX#30103april-ivy wants to merge 2 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back aprilpet! A progress list of the required criteria for merging this PR into |
|
@april-ivy This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 34 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@TheRealMDoerr, @tstuefe) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
@aprilpet The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
TheRealMDoerr
left a comment
There was a problem hiding this comment.
Thanks for working on it!
| // to be a fatal error by default. On certain AIX systems, leaving EXTSHM=ON means | ||
| // that the VM is not able to allocate 64k pages for the heap. | ||
| // We do not want to run with reduced performance. | ||
| vm_exit_during_initialization("EXTSHM is ON. Please remove EXTSHM from your environment."); |
There was a problem hiding this comment.
We should keep vm_exit_during_initialization if "EXTSHM" is set, but remove the AllowExtshm check, and the log_warning above.
|
@aprilpet Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
| p = ::getenv("EXTSHM"); | ||
| if (p != nullptr) { | ||
| vm_exit_during_initialization("EXTSHM is ON. Please remove EXTSHM from your environment."); | ||
| } |
There was a problem hiding this comment.
Was this added by mistake?
Looks wrong:
EXTSHM=OFF jdk/bin/java -version
Error occurred during initialization of VM
EXTSHM is ON. Please remove EXTSHM from your environment.
There was a problem hiding this comment.
Mistake on my end, should be fixed now
|
/integrate |
|
@aprilpet |
|
I don't think the exit-when-EXTSHM-is-set should be removed without understanding first what the effects were for the 64kpages-with-SystemV-shm. I remember it being incompatible with some of the shmxxx() calls. The same ratio as given in the original comments we wrote 20 years ago. I am fine with the removal of the flag, though. |
Thanks for taking a look! |
Ah, I missed that part. Okay then. |
|
/sponsor |
|
Going to push as commit e69fb77.
Your commit was automatically rebased without conflicts. |
|
@tstuefe @april-ivy Pushed as commit e69fb77. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
As discussed in #29671 & https://bugs.openjdk.org/browse/JDK-8378177, the AllowExtshm diagnostic flag, _extshm variable, and extshm() function are removed. The flag never worked because it was not parsed early enough so the VM exits before the flag is available. EXTSHM is not something we want to support.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/30103/head:pull/30103$ git checkout pull/30103Update a local copy of the PR:
$ git checkout pull/30103$ git pull https://git.openjdk.org/jdk.git pull/30103/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 30103View PR using the GUI difftool:
$ git pr show -t 30103Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/30103.diff
Using Webrev
Link to Webrev Comment