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

Move ScavengableNMethods unlinking to unregister_nmethod

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: