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

ZGC: Remove ZGranuleMap::size()

    XMLWordPrintable

    Details

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

      Description

      ZAddressOffsetMax is no longer a constant, so ZGranuleMap::size() will not be as nicely folded as it used to be. I suggest we instead calculate the size once and store it in a variable. This is not critical for performance, but I still think it's nice to do.

        Attachments

          Activity

            People

            Assignee:
            pliden Per Liden
            Reporter:
            pliden Per Liden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: