Move ScavengableNMethods unlinking to unregister_nmethod

XMLWordPrintable

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

      Today we leave nmethod on the scavenge nmethod sets after an nmethod has been unregistered. The method is later removed from the list during the flushing (deleting) of the nmethod.

      We should move the the unlinking to when nmethods are unregistered, so that GCs don't visit nmethods that are about to be removed.

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

              Created:
              Updated:
              Resolved: