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

ZGC: Remove redundant ZNMethodTable::_iter_lock

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b10

      Description

      The ZNMethodTable lock guards accesses with both the CodeCache_lock and it's own _iter_lock. This used to necessary because there was a path that didn't take the CodeCache_lock. A recent bug fix changed this and we always hold the CodeCache_lock when we take the _iter_lock. I propose that we remove the _iter_lock.

        Attachments

          Activity

            People

            • Assignee:
              stefank Stefan Karlsson
              Reporter:
              stefank Stefan Karlsson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: