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

ZGC: Remove redundant ZNMethodTable::_iter_lock

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: