Remove GC.class_stats

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: None
    • Component/s: 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.


            Assignee:
            Coleen Phillimore
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: