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

Metaspace: move locking out of MetaspaceArena

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: