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

Split up Metaspace class into a static and a non-static part

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • hotspot
    • None
    • b07

      This is a small cleanup, a breakout from 8185034. See also discussions under that issue.

      One thing which makes the code difficult to read is that "Metaspace" means two things: in general, the whole thing. And in particular, one object which holds the memory for a single class loader. So it would make sense to split the Metaspace class:

      - a class holding the metaspace memory for a single classloader.
      - a class with all the static usability function which do not directly operate on a single metaspace. These functions could be merged with MetaspaceAux, which is already a sink for all kind of static usability functions.

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

              Created:
              Updated:
              Resolved: