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

Metaspace: move locking out of MetaspaceArena

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • hotspot
    • b19

    Description

      Currently, MetaspaceArena locks on entry for all public functions. It locks on a lock given to it by the CLMS, which is ultimately the CLD metaspace lock.

      Since MetaspaceArena is only used (outside of tests) by CLMS, it would be simpler were CLMS itself to synchronize instead of bothering its arenas. Many of the "xxx_locked()" function could be removed.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: