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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 8u60, 9
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: