-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8263375: Support stack watermarks in Zero VM #4728
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
8263375: Support stack watermarks in Zero VM #4728
Conversation
|
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
Webrevs
|
fisk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general, would just like slightly more precise hooks as explained in a comment above. It will probably work without that though.
|
@shipilev 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 add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
fisk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
|
@shipilev 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 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
|
Thanks, @fisk! I suppose there are no other interested parties for this kind of patch, so I'll integrate this soon. |
|
/integrate |
|
Going to push as commit 857a930.
Your commit was automatically rebased without conflicts. |
Zero VM supports most of GCs. Since JDK 16, Shenandoah uses stack watermarks, so Zero has to support those if Shenandoah+Zero support is to remain. This PR adds the stack watermark support in Zero VM. This should also be useful as other projects, notably Loom, mature and depend on stack watermarks.
Zero already calls into Hotspot safepoint machinery to do things, and it seems only the hooks for
on_iterationandon_unwindare missing. AFAICS, Zero only has on-return safepoints, renamed it to be more precise.@fisk, do you see any obvious problems with this patch?
Additional testing:
hotspot_gc_shenandoahnow passesProgress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/4728/head:pull/4728$ git checkout pull/4728Update a local copy of the PR:
$ git checkout pull/4728$ git pull https://git.openjdk.java.net/jdk pull/4728/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4728View PR using the GUI difftool:
$ git pr show -t 4728Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/4728.diff