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

C2: uncommon trap w/ Reason_speculate_class_check causes performance regression due to continuous deoptimizations

    Details

    • Subcomponent:
    • Resolved In Build:
      b52
    • Verification:
      Verified

      Backports

        Description

        Some of Nashorn subbenchmarks can suffer a lot when an uncommon trap w/ Reason_speculate_class_check sometimes settles with Action_none after too many traps occured. It causes continuous deoptimizations and performance regresses a lot (up to 50x).

        ILW = HLH = P2
        I = H: severe performance regression on Nashorn
        L = L: requires very specific race between nmethod deoptimizations and recompilation; Nashorn & other JSR292 users are affected
        W = H: none

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  vlivanov Vladimir Ivanov
                  Reporter:
                  vlivanov Vladimir Ivanov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: