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

Split up metaspace.cpp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 10
    • hotspot
    • None
    • b15

        metaspace.cpp has grown unwieldy over time. It would make sense to split it into multiple parts.

        - Move SpaceManager, VirtualSpaceManager and ChunkManager to their repective own headers and expose them, as Coleen suggested
        - This makes it possible to remove the remaining test coding from metaspace.cpp and make them proper gtests.
        - It would also make sense to extract and if possible unify/simplify common coding handling ChunkIndex enums and chunk geometry.

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

                Created:
                Updated:
                Resolved: