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

ZGC: Cleanup pre-touching code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • gc
    • b22

      There's a few things that we'd like to cleanup around the pre-touching code.
      * Remove the dependency to ZPhysicalMemoryManager - cleans up the call site
      * Remove unimplemented function pretouch_view (and its friends)
      * Change type from zoffset for the iteration variable - multiple threads update it and it is not guaranteed to stay below the required ZAddressOffsetMax. I can trigger an assert here if I change the code to prime_cache in the higher address range instead of the lower and setting a max heap size that matches ZAddressOffsetMax.

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

              Created:
              Updated:
              Resolved: