Reduce the likelihood of AsyncGetCallTrace crashing due to sweeped nmethod data

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P5
    • tbd
    • Affects Version/s: 19
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: