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

Separate heap region iterator claim values from the data structures iterated over

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b36

      Backports

        Description

        A single field in the heap region structure prohibits more than one concurrent job at a time.

        From the technical debt page:

        Separate iterator claim values from the data structures iterated over

            potentially think of making the interface of iterators the same, at least within a single collector's code base
            these two things are conceptually unrelated
            claim values are temporary, the data structures iterated are long-living
            lots of bloat regarding resetting/managing the iterator claim values detracting from the point of these data structures
            extension and changing the iteration/claiming mechanism does not change the data structure all the time
            there is a lot of code repetition with minor differences in the implementations
            should allow easy and generic application of padding etc. too
            should allow generic introduction of measuring properties like contention

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mlarsson Marcus Larsson (Inactive)
                  Reporter:
                  brutisso Bengt Rutisson (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: