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

[JVMCI] Test FailedSpeculation existence before appending.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • 21
    • hotspot
    • b15

    Description

      Upon uncommon_trap, JVMCI runtime appends a FailedSpeculation entry to the nmethod using an atomic operation. It becomes a performance bottleneck when there is a large amount of (virtual) threads deoptimizing in the nmethod. Instead, we should test if a FailedSpeculation exists in the list before appending it.

      Attachments

        Issue Links

          Activity

            People

              yzheng Yudi Zheng
              yzheng Yudi Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: