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

ZGC: Use wait/notify in ZNMethodTable

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: