-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8263579: ZGC: Concurrent mark hangs with debug loglevel #3011
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
Conversation
👋 Welcome back casparcwang! A progress list of the required criteria for merging this PR into |
@casparcwang The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
Thanks for reporting and proposing a fix. I would suggest that we simply remove the |
56f74da
to
e2280fd
Compare
Thanks for your review @pliden . The patch is changed according to your suggestion, and removing The destruction of |
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!
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.
/integrate |
@casparcwang This PR has not yet been marked as ready for integration. |
/issue add JDK-8263579 |
@casparcwang The primary solved issue for a PR is set through the PR title. Since the current title does not contain an issue reference, it will now be updated. |
|
@casparcwang 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 350 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. 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 (@pliden, @albertnetymk, @fisk) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
@casparcwang |
/sponsor |
@DamonFool @casparcwang Since your change was applied there have been 350 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 5a7f22a. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Do not leave terminate stage 1 when there is nothing to do. This helps eliminate the concurrent mark hang with debug log level, and reduce total mark time without impact the performance.
The following is the performance data of specjbb2015 with stressed zgc:
Current patch:
RUN RESULT: hbIR (max attempted) = 122581, hbIR (settled) = 102168, max-jOPS = 104194, critical-jOPS = 90630
[2021-03-12T17:20:37.072+0800][info ][gc,stats ] Phase: Concurrent Mark 383.026 / 383.026 1222.317 / 1811.813 766.530 / 1811.813 766.530 / 1811.813 ms
RUN RESULT: hbIR (max attempted) = 118234, hbIR (settled) = 108389, max-jOPS = 102864, critical-jOPS = 93572
[2021-03-12T19:28:01.032+0800][info ][gc,stats ] Phase: Concurrent Mark 407.483 / 407.483 1243.775 / 1773.463 756.956 / 1773.463 756.956 / 1773.463 ms
RUN RESULT: hbIR (max attempted) = 111999, hbIR (settled) = 110683, max-jOPS = 104159, critical-jOPS = 92600
[2021-03-12T21:48:09.729+0800][info ][gc,stats ] Phase: Concurrent Mark 412.954 / 412.954 1216.900 / 1927.552 762.315 / 1927.552 762.315 / 1927.552 ms
Original:
RUN RESULT: hbIR (max attempted) = 122581, hbIR (settled) = 109863, max-jOPS = 102968, critical-jOPS = 90836
[2021-03-13T01:59:35.160+0800][info ][gc,stats ] Phase: Concurrent Mark 414.845 / 414.845 1168.357 / 1817.015 795.806 / 1837.452 795.806 / 1837.452 ms
RUN RESULT: hbIR (max attempted) = 122581, hbIR (settled) = 102168, max-jOPS = 102968, critical-jOPS = 89227
[2021-03-12T23:49:17.322+0800][info ][gc,stats ] Phase: Concurrent Mark 405.709 / 405.709 1250.672 / 1724.725 783.993 / 1739.099 783.993 / 1739.099 ms
RUN RESULT: hbIR (max attempted) = 102168, hbIR (settled) = 85156, max-jOPS = 104211, critical-jOPS = 91693
[2021-03-13T04:22:14.338+0800][info ][gc,stats ] Phase: Concurrent Mark 415.444 / 415.444 1254.256 / 1896.037 768.536 / 1896.037 768.536 / 1896.037 ms
Progress
Issue
Reviewers
Download
To checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3011/head:pull/3011
$ git checkout pull/3011
To update a local copy of the PR:
$ git checkout pull/3011
$ git pull https://git.openjdk.java.net/jdk pull/3011/head