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

ZGC: Remove redundant ZNMethodTable::_iter_lock

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • None
    • hotspot
    • None
    • gc
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: