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

ZGC: Make ZGranuleMap ZAddress agnostic

    XMLWordPrintable

    Details

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

      Description

      The ZGranuleMap is hard-coded to only work with ZAddresses (pointers into one of the heap views). It checks that no null-pointer is passed in, and then scales away the metadata/view bits.

      Change it to only work with offsets [0, <max offset>). And move ZAddress code to callers. This will allow us to easily use ZGranuleMap for both virtual addresses and physical memory offsets.

        Attachments

          Activity

            People

            Assignee:
            stefank Stefan Karlsson
            Reporter:
            stefank Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: