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

ZGC: Implement Large Pages support on Windows

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b26
    • OS:
      windows

      Description

      Recent Windows versions (>= 1809) have support for "shared" AWE sections. It that can be used to implement Large Pages support for ZGC.

      Memory Reservation:
      In comparison to the placeholder memory reservation, which is used for the small pages implementation, we don't have to split and keep track of "sub-reservations" with the shared AWE.

      Memory Committing and Uncomitting:
      The small pages implementation creates one paging file handle for each 2MB. With shared AWE, we only need one section that can grow and shrink dynamically.

      Multi-mapping:
      Memory in the shared AWE section can be mapped into multiple places virtual address space.

      A first prototype can be found here:
      https://cr.openjdk.java.net/~stefank/prototype/zWindowsLargePages/webrev.01/

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: