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

Small VM.metaspace improvements

    XMLWordPrintable

Details

    • b21

    Backports

      Description

        VM.metaspace has a number of small issues which can be improved:

        1) When used with options "show-loaders" and "show-classes", it does list metaspace usage per CLD and the classes loaded. However, it also lists classes whose meta data reside in CDS, which can be confusing because they do not contribute to metaspace footprint printed below.
        -> Classes whose meta data reside in CDS should clearly marked.

        2) It would be helpful to print a summary of number of loaded classes even if not printing the class list.

        3) Printing the instance classes and array classes separately in the "--Totals:--" summary is actually not that helpful. That code may be removed to simplify coding.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: