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

Remove GC.class_stats

XMLWordPrintable

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

      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.


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

              Created:
              Updated:
              Resolved: