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

[JVMCI] Test FailedSpeculation existence before appending.

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: