8356783: CompilerTask hot_method is redundant#25185
8356783: CompilerTask hot_method is redundant#25185shipilev wants to merge 1 commit 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 74 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 |
vnkozlov
left a comment
There was a problem hiding this comment.
There was time when we compiled caller instead of method which triggers compilation (StackWalkCompPolicy). It was removed in JDK 13 JDK-8216360
|
Thanks! Testing is green here. I'll wait a bit more if anyone else wants to review, and then I'll integrate to continue with JDK-8231269. |
|
Here goes. /integrate |
|
Going to push as commit 48d2acb.
Your commit was automatically rebased without conflicts. |
This gave me some grief when implementing JDK-8231269. From the initializations, it looks to me that
CompilerTask::hot_method()is eithermethod()ornullptr. In both cases, we do nothing special. So trackinghot_methodis redundant, and can be purged. This improves performance a little, since it avoids extra handle-izing across compiler code, and of course it simplifies coding as well.Additional testing:
compiler/allProgress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/25185/head:pull/25185$ git checkout pull/25185Update a local copy of the PR:
$ git checkout pull/25185$ git pull https://git.openjdk.org/jdk.git pull/25185/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 25185View PR using the GUI difftool:
$ git pr show -t 25185Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/25185.diff
Using Webrev
Link to Webrev Comment