-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8338745: Intrinsify Continuation.pin() and Continuation.unpin() #20664
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
Conversation
|
👋 Welcome back mgronlun! A progress list of the required criteria for merging this PR into |
|
@mgronlun 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 5 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 |
Webrevs
|
|
/label remove hotspot |
|
/cc hotspot-compiler |
|
@vnkozlov |
|
@vnkozlov |
|
Thank you for your reviews and comments, @vnkozlov, @dean-long, @TobiHartmann and @mur47x111. |
|
/integrate |
|
Going to push as commit fead3cf.
Your commit was automatically rebased without conflicts. |
Greetings,
Please help review this change set that implements C2 intrinsics for jdk.internal.vm.Continuation.pin() and jdk.internal.vm.Continuation.unpin().
This work is a consequence of JDK-8338417, which required us to introduce explicit pin constructs for Virtual threads in a relatively performance-sensitive path.
Testing: jdk_jfr, loom testing
Comment: I changed the type of the ContinuationEntry::_pin_count field from uint to uin32_t to make the size explicit and to access it uniformly from the intrinsic code using T_INT.
Thanks
Markus
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/20664/head:pull/20664$ git checkout pull/20664Update a local copy of the PR:
$ git checkout pull/20664$ git pull https://git.openjdk.org/jdk.git pull/20664/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 20664View PR using the GUI difftool:
$ git pr show -t 20664Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/20664.diff
Webrev
Link to Webrev Comment