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

Remove GC.class_stats

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 15
    • None
    • core-svc
    • None
    • b06

    Description

      I wrote GC.class_stats as a way to understand the composition of the class metadata. The hope was that we can use this information to reduce the metadata size, or rearrange them to increase the read-only ratio of metadata in CDS archives.

      However, in reality probably no one (including me) has used this information for a long time. The code is being bit-rotted (see JDK-8232758) and becomes a hassle when adding new MetaspaceObj classes/fields.

      We should consider simplifying the implementation (by using <T>::metaspace_pointers_do), or simply removing it.


      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: