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

Make OtherRegionsTable independent of the region it is for

XMLWordPrintable

    • gc
    • b18

      The OtherRegionsTable is a set of a set of cards that comprises the remembered set.

      It stores the HeapRegion it collects cards for to do filtering in the FromCardCache. The set of cards should not have knowledge about what region it is for, from an abstraction POV it should just be a dumb container of cards.

      Move out the HeapRegion id from OtherRegionsTable (the "set of cards") into the enclosing HeapRegionRememberedSet (managing set of cards), separating the FCC functionality from the raw data storage.

      This will make code that assigns a HeapRegionRememberedSet to multiple regions in the future a bit simpler too.

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

              Created:
              Updated:
              Resolved: