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

ZGC: NMT reports Java heap size larger than max heap size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 24
    • 15
    • hotspot
    • gc

      Singlegen ZGC uses more virtual memory than physical memory. We have multiple views of memory mapping to the same physical memory. If we were to report all our virtual memory to NMT, then the number would be inflated. Therefore we only report one of the views. This mostly work, but there are situations where old virtual mappings linger in the system and the NMT reported committed memory gets reported as larger than max heap size.

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

              Created:
              Updated:
              Resolved: