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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8u60, 9
    • hotspot
    • b64

        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.

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

                Created:
                Updated:
                Resolved: