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
8252645: Change time measurements in G1ServiceThread to only account remembered set work #1447
Conversation
…remembered set work
|
Webrevs
|
@@ -482,23 +482,6 @@ class G1RemSetScanState : public CHeapObj<mtGC> { | |||
} | |||
}; | |||
|
|||
G1RemSet::G1RemSet(G1CollectedHeap* g1h, |
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.
Not completely sure why this moved but not G1RemSet::initialize()
below.
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.
The destructor had to move to see the type and I obviously took the constructor but missed initialize()
. Certainly makes sense to move that one too.
assert(_sampling_task != NULL, "Must have been initialized"); | ||
return _sampling_task->vtime_accum(); | ||
} | ||
|
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.
Extra newline.
@kstefanj This change now passes all automated pre-integration checks. 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 11 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.
|
Still good. Thanks. |
/integrate |
Thanks @tschatzl and @albertnetymk for the reviews. |
@kstefanj Since your change was applied there have been 13 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit ee99686. |
Please review this change to move the timing of how much time is spent doing remembered set sampling into the task doing the sampling. The timing has historically been part of the service thread, because in the past the only thing the thread did was sampling. Now when both uncommit work and periodic GC scheduling has been added, the timing needs to be moved into the sampling task.
I've also slightly changed the output using this information to:
Instead of the old:
I decided to change the unit to ms because the time spent doing sampling is very small and is better measured in milliseconds. When doing so I also went with three decimals since this is what we normally do for milliseconds.
Progress
Testing
Failed test tasks
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/1447/head:pull/1447
$ git checkout pull/1447