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

Eliminate shared PtrQueues

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Not an Issue
    • P4
    • tbd
    • None
    • hotspot
    • gc
    • generic
    • generic

    Description

      Each SATBMarkQueueSet and DirtyCardQueueSet has a shared queue of the corresponding type. These shared queues are used by enqueue operations when the current thread is not a JavaThread. However, even non-JavaThreads have embedded GCThreadLocalData, which contains the per-thread SATB and dirty card queues. We should just use those queues, rather than a (possibly highly contended) shared queue.

      Attachments

        Issue Links

          Activity

            People

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: