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

Let nmethods be is_unloading() outside of safepoints

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b22

      Description

      All current GCs perform code cache unloading in safepoints. Therefore, nmethods that are alive but is_unloading() are never observed outside of safepoints. With concurrent class unloading, nmethods that are alive but is_unloading() will become observable outside of safepoints. This must be handled appropriately.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eosterlund Erik Ă–sterlund
                Reporter:
                eosterlund Erik Ă–sterlund
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: