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

Reduce the likelihood of AsyncGetCallTrace crashing due to sweeped nmethod data

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • tbd
    • 19
    • hotspot
    • svc

      In JDK-8283849 a guarantee induced crash was fixed for situations when `CodeCache::find_blob()` would encounter a zombie method during processing the AGCT request.

      While that fix removed the most frequent cause of failure related to zombie methods it is still possible for the `CodeCache::find_blob()` to return a codeblob/method which status will be changed to zombie and the code blob will be retired by the code sweeper while AGCT is still trying to access its data.

      This can lead to subsequent spurious crashes when eg. AGCT attempts to access the structures of the nmethod data which were already sweeped.

            jbachorik Jaroslav BachorĂ­k
            jbachorik Jaroslav BachorĂ­k
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: