Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8170020

Add helper for shared PtrQueue enqueuing

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      generic

      Description

      There are various places where an entry is added to either the shared SATBMarkQueue or the shared DirtyCardQueue. Adding to either of these requires the caller to first lock the queue. It would be nice to have the locking plus enqueue wrapped up in a convenient package. A member function of PtrQueue would be the first step. And perhaps additional wrappers for the barrier set.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kbarrett Kim Barrett
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: