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

ZGC: Make ZGranuleMap ZAddress agnostic

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 14
    • 14
    • hotspot
    • gc
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: