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

Concurrently build indexes for rebalancing Reference lists

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 11
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      Rebalancing Reference lists costs a lot of time because it is single threaded; the main issue is because the list of discovered references is a single linked list per discovery thread per reference type that need to be walked through one by one.

      Build an index containing locations within the discovered lists at fixed intervals to speed up rebalancing the discovered lists.

      This needs to be done either during discovery (if precleaning is disabled) or during precleaning, and potentially rebuilt every time elements are removed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tschatzl Thomas Schatzl
                Reporter:
                tschatzl Thomas Schatzl
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: