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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • 24
    • 15
    • hotspot
    • gc

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: