-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
8266073: Regression ~2% in Derby after 8261804 #3972
Conversation
👋 Welcome back lkorinth! A progress list of the required criteria for merging this PR into |
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.
Looks good. Just one question, did you do any analysis of the G1 reference processing during concurrent mark? In that code path the call to set_active_mt_degree()
comes after checking processing_is_mt()
. The comment suggests this is ok, just wanted to make sure this is still true after JDK-8261804:
jdk/src/hotspot/share/gc/g1/g1ConcurrentMark.cpp
Line 1585 in 995e956
rp->set_active_mt_degree(active_workers); |
Good catch Stefan, I will fix it. |
My fix is using |
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.
@lkorinth 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 35 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 |
Thanks Albert and Stefan! |
/integrate |
@lkorinth Since your change was applied there have been 72 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit f422787. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
My change in 8261804 made processing_is_mt() to always be false when _active_mt_degree is one. This is better because we then need not to execute on another thread. However, at a few places we do not change the _active_mt_degree if processing_is_mt() is false. We could then be stuck at 1 thread. I now change the code to always change the mt degree.
Derby does no longer regress for g1, and tier 1 passes. I am running tier 1-3 at the moment.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3972/head:pull/3972
$ git checkout pull/3972
Update a local copy of the PR:
$ git checkout pull/3972
$ git pull https://git.openjdk.java.net/jdk pull/3972/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3972
View PR using the GUI difftool:
$ git pr show -t 3972
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/3972.diff