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

Move ScavengableNMethods unlinking to unregister_nmethod

    XMLWordPrintable

Details

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

    Description

      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.

      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: