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

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

XMLWordPrintable

    • b103
    • 9
    • b108
    • generic

      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

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

              Created:
              Updated:
              Resolved: