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

ZGC: Use wait/notify in ZNMethodTable

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • None
    • hotspot
    • None
    • gc
    • b10

    Description

      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.

      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: