-
Notifications
You must be signed in to change notification settings - Fork 77
8257919: [JVMCI] profiling info didn't change after reprofile #6
Conversation
👋 Welcome back vlivanov! A progress list of the required criteria for merging this PR into |
/label remove hotspot |
@iwanowww |
@iwanowww |
Webrevs
|
I guess the compiler will outsmart the back-to-back initialization but for clarity maybe the |
After thinking more about it, I decided to revert |
Good point. Latest commit addresses that. |
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.
Good. I verified locally that failed test passed.
@iwanowww 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 for the reviews, Vladimir and Claus. |
/integrate |
@iwanowww Since your change was applied there have been 3 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit b1afed7. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
JDK-8252049 moved compiler counter initialization into MethodData constructor, but JVMCI and WhiteBox API rely on
MethodData::initialize()
/MethodData::init()
to reset MDO state.Proposed fix restores the logic which resets the counters in
init()
(which is called frominitialize()
).Testing:
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk16 pull/6/head:pull/6
$ git checkout pull/6