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

jcmd VM.metaspace should report unlimited size if MaxMetaspaceSize isn't specified

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • None
    • b12

    Description

      When MaxMetaspaceSize is not specified, it would set to max_uintx, jcmd VM.metaspace reports metaspace summary information as follows:

      $ ./jcmd <pid> VM.metaspace | grep MaxMetaspaceSize
      MaxMetaspaceSize: 17179869184.00 GB

      Actually this is a bug, the expected output should be:

      MaxMetaspaceSize: unlimited

      The root cause of the problem is that the MaxMetaspaceSize rounding performed during arguments parsing is inconsistent with the rounding check in print_settings(metaspaceRerporter.cpp).

      Attachments

        Issue Links

          Activity

            People

              dholmes David Holmes
              ddong Denghui Dong
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: