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

Replacing MH::invokeBasic with a direct call breaks LF customization

    Details

    • Subcomponent:
    • Introduced In Build:
      b103
    • Introduced In Version:
      9
    • Resolved In Build:
      b108
    • OS:
      generic

      Description

      9b103 has a serious performance regressions of octane benchmarks (nashorn).

      Particularly a large performance regression is observed on Richards and DeltaBlue.
      it's proved that regression on Richards is caused by JDK-8072008 commit.
      Looks like DeltaBlue has the same regression source.
      Inline of the following MH methods were broken:
      - java.lang.invoke.LambdaForm$MH::guard
      - java.lang.invoke.MethodHandle::invokeBasic
      - java.lang.invoke.LambdaForm$BMH::reinvoke
      - java.lang.invoke.LambdaForm$MH::delegate

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vlivanov Vladimir Ivanov
                Reporter:
                skuksenko Sergey Kuksenko
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: