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

Use AS_NO_KEEPALIVE when accessing dead java.lang.invoke.CallSites during nmethod unloading

    XMLWordPrintable

    Details

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

      Description

      When nmethods are unloaded, they may have dead java.lang.invoke.CallSites loaded, and then we follow their dead java.lang.invoke.MethodHandleNatives.CallSiteContext, so that the dependency context can be cleaned. These dead oops should be loaded with AS_NO_KEEPALIVE accessors.

        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: