ZGC: Use wait/notify in ZNMethodTable

XMLWordPrintable

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

      The nmethod sweeper is not allowed to unregister an nmethod while the GC is iterating over the ZNMethodTable. The current code spins in a loop releasing the lock and sleeping for 1 ms. I propose that we replace this with wait and notify.

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

              Created:
              Updated:
              Resolved: