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

Eliminate shared PtrQueues

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: