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

Never-taken branches cause repeated deopts in MHs.GWT case

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u60, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b64

      Backports

        Description

        MethodHandleImpl::profileBoolean doesn't update never-taken branch count when hitting a deopt on it.
        As a result, for rarely taken branches consequent compilations consider them as never-taken and prune them again, causing repeated deopts. It severely affects peak performance.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: