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

Simplify flushing PtrQueues

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 13
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      The current implementation of flushing of PtrQueues is made a bit complicated by having SATB queues first filter the buffer. However, that filtering isn't necessary, and might even be wasteful. It isn't necessary because the entries will eventually be re-filtered as part of marking. So any entries that survive the flush filtering will just be checked again later. There is some benefit to flush filtering if it completely empties the buffer, so the buffer can be deallocated rather than enqueued, but that's a small benefit and may not happen often.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: