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

Clean up FreeIdSet usage

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • gc
    • b105
    • generic
    • generic

      The only use of the FreeIdSet class is by DirtyCardQueueSet, in mut_process_buffer.

      Only one of the DirtyCardQueueSet objects actually uses this code, the one returned by JavaThread::dirty_card_queue_set(). Other sets allocate but never use their FreeIdSet. We should avoid wasting space for the unused sets.

      The FreeIdSet class could be moved into dirtyCardQueue.cpp, since it isn't needed anywhere else; just leave a forward reference behind for the member type in DirtyCardQueueSet.

            aharlap Alexander Harlap (Inactive)
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: