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

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • 24
    • Affects Version/s: 15
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: