8360783: CTW: Skip deoptimization between tiers#26013
8360783: CTW: Skip deoptimization between tiers#26013shipilev wants to merge 2 commits intoopenjdk:masterfrom
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 50 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. ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
test/hotspot/jtreg/testlibrary/ctw/src/sun/hotspot/tools/ctw/Compiler.java
Outdated
Show resolved
Hide resolved
…ompiler.java Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
mhaessig
left a comment
There was a problem hiding this comment.
Those are quite some time savings! Thank you for fixing this.
Looks good to me.
|
Thanks, I think I need a quick re-review after the amendment. |
|
Thanks! Here goes. /integrate |
|
@shipilev This pull request has not yet been marked as ready for integration. |
|
Aw. Thanks! Here goes again. /integrate |
|
Going to push as commit cd6caed.
Your commit was automatically rebased without conflicts. |
When profiling CTW runs, I noticed we spend a lot of time dealing with deoptimization. We do this excessively, deoptimizing before compilation on every tier. This is excessive: Hotspot honors compilation requests on subsequent levels without the need for explicit deoptimization. Not doing deopt between tiers greatly improves CTW performance.
A taste of improvements, about 15% less CPU spent:
The compilation still works as expected, progressing through tiers 1..4:
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/26013/head:pull/26013$ git checkout pull/26013Update a local copy of the PR:
$ git checkout pull/26013$ git pull https://git.openjdk.org/jdk.git pull/26013/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 26013View PR using the GUI difftool:
$ git pr show -t 26013Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/26013.diff
Using Webrev
Link to Webrev Comment