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

Eliminate Shared_DirtyCardQ_lock

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 18
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: