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

Incrementally calculate the occupied cards in a heap region remembered set

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

      Description

      Currently a remembered set's occupancy is calculated from its components. This is problematic for a few reasons:

      - slow on remembered sets with lots of components, which causes lots of additional code to avoid recalculation or mitigations
      - may cause the total count going down temporarily when calculating during coarsening; attempting to account for this adds additional code

      Particularly for updating predictions at mutator time such a temporary wrong value may cause unexpected prediction results.

        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: