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

G1DirtyCardQueueSet should use card counts rather than buffer counts

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b13

      Description

      JDK-8227719 changed G1DirtyCardQueueSet to internally track the number of cards in the set, rather than the number of buffers, and provide that information to clients. But to reduce the fanout from that change, the old buffer count API was retained, with an estimated buffer count based on the card count and the buffer size.

      We should update clients to use card counts and remove the buffer count API.

        Attachments

          Issue Links

            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:
                Resolved: