-
Notifications
You must be signed in to change notification settings - Fork 44
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
8349457: [leyden] Workaround Leyden problems with -XX:-TieredCompilation #32
Conversation
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
@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 no new commits pushed to the 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 (@ashu-mehra, @vnkozlov, @veresov, @iwanowww) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Webrevs
|
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.
lgtm
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.
@veresov should look on this.
Fun perf results:
|
Taking the rest of the week off, so feel free to integrate without me. /integrate delegate |
@shipilev Integration of this pull request has been delegated and may be completed by any project committer using the /integrate pull request command. |
Current GHA failures should be fixed by #35. |
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.
Thanks! /integrate |
/sponsor |
Going to push as commit 0a32077. |
Currently, supplying
-XX:-TieredCompilation
would break with Leyden workflows, because the archive-backed code cache heap would only be created ifSegmentedCodeCache
is enabled. With default compilation policy, this happens normally when tiered compilation is enabled, but not without it.There are other minor peculiarities that we need to handle, which are exposed with
runtime/cds
+-XX:-TieredCompilation
runs.This prevents us from testing C2-only Leyden configs and studying compilation dynamics without tiered policy getting in the way.
Additional testing:
-XX:-TieredCompilation
: the C2-only code is being stored and loaded successfully from the CDS archiveruntime/cds
now passes with-XX:-TieredCompilation
runtime/cds
still passes by default (i.e. with tiered compilation)Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/leyden.git pull/32/head:pull/32
$ git checkout pull/32
Update a local copy of the PR:
$ git checkout pull/32
$ git pull https://git.openjdk.org/leyden.git pull/32/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 32
View PR using the GUI difftool:
$ git pr show -t 32
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/leyden/pull/32.diff
Using Webrev
Link to Webrev Comment