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

Fix unloading_occurred to mean unloading_occurred

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b13

      Description

      There's code that tests for JVMTI and sets the unloading_occurred flag in nmethod.cpp. This is code left over from Permgen when the old, not running methods were oops in the nmethod and needed to be cleaned out.
      Redefinition was fixed eagerly clean old methods, rather than wait for GC. This flag setting and the commentary around it are no longer valid.
      The nmethod IC , weak_klass links and dependency Klass cleaning only needs to be done if a klass is unloaded.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coleenp Coleen Phillimore
                Reporter:
                coleenp Coleen Phillimore
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: