8258252: Move PtrQueue enqueue to PtrQueueSet subclasses#1776
8258252: Move PtrQueue enqueue to PtrQueueSet subclasses#1776kimbarrett wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back kbarrett! A progress list of the required criteria for merging this PR into |
|
@kimbarrett |
Webrevs
|
|
@kimbarrett 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
rkennke
left a comment
There was a problem hiding this comment.
Looks good to me, and I ran some more Shenandoah tests which also look good.
|
/integrate |
|
@kimbarrett Pushed as commit cdb5342. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Please review this refactoring in the PtrQueue/PtrQueueSet hierarchy.
The functions PtrQueue::enqueue and PtrQueue::enqueue_known_active are
removed, along with the helper virtual function PtrQueue::handle_completed_buffer.
Instead we now have G1{Dirty,Redirty}CardQueueSet::enqueue and SATBMarkQueueSet::enqueue/enqueue_known_active, each tailored to the corresponding specific behavior. They use some shared helper routines from PtrQueueSet, and the PtrQueue buffer and index have been made accessible to clients.
Testing:
mach5 tier1-3, 5 (stress tests)
Local (linux-x64) tier1 with -XX:+UseShenandoahGC
/label hotspot
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/1776/head:pull/1776$ git checkout pull/1776