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

Eliminate Shared_DirtyCardQ_lock

XMLWordPrintable

    • gc
    • b12

      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.

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

              Created:
              Updated:
              Resolved: