ZGC: Remove redundant ZNMethodTable::_iter_lock

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 13
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • gc
    • b10

      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.

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

              Created:
              Updated:
              Resolved: