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

Print G1 reserved and committed sizes as separate items in VM.info and hs_err

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • hotspot
    • None
    • gc
    • b14

    Description

      ```
      Heap:
       garbage-first heap total 1040384K, used 4985K [0x0000000414000000, 0x0000000800000000)
        region size 8192K, 1 young (8192K), 0 survivors (0K)
       Metaspace used 178K, committed 384K, reserved 1114112K
        class space used 11K, committed 128K, reserved 1048576K
      ```

      We print the committed heap size as "total". Reserved size is missing and can only be deduced using the following address range size. And the apparent mismatch between that range size and the printed "total" value also confused some customers.

      Let's print the reserved and committed total separately.

      Attachments

        Issue Links

          Activity

            People

              stuefe Thomas Stuefe
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: