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

Remove one of the SparsePRT entry tables

    Details

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

      Description

      Currently SparsePRT contains two entry tables called _cur and _next.

      This has originally been used(?) to allow safe adding of remembered set entries during iteration.

      That feature has never been used (at least >= JDK7), so what was left was some complicated dance in various phases to always iterate over the right table, and make sure to release resources correctly.

      Remove that feature as it only complicates the code and keeps on memory longer than needed.

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