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

Move ScavengableNMethods unlinking to unregister_nmethod

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      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

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

              Dates

              Created:
              Updated:
              Resolved: