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

ZGC: Make ZGranuleMap ZAddress agnostic

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • hotspot
    • gc
    • b21

      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.

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

              Created:
              Updated:
              Resolved: