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

Eliminate Shared_DirtyCardQ_lock

    XMLWordPrintable

Details

    • gc
    • b12

    Description

      G1SharedDirtyCardQueue is lock-based, using Shared_DirtyCardQ_lock, which needs to have access-related rank. It could be made lock-free.

      Making it lock-free involves some additional complexity. There is a tradeoff between that complexity vs having an access-related rank lock. The situation where the shared queue is needed is extremely rare, so contention for the lock isn't an issue.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: