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

Customize LambdaForms which are invoked using MH.invoke/invokeExact

    XMLWordPrintable

    Details

      Backports

        Description

        Overhead of non-inlined MH.invoke/invokeExact calls significantly increased with LambdaForm sharing.
        The cause is JIT compiler can't produce a single nmethod for the whole MethodHandle chain underneath, so the execution is spread around numerous nmethods (1 per each MethodHandle in the chain).

        ILW = HLH = P2
        I = H: performance regression (significant, in some situations)
        L = L: only MH.invoke/invokeExact calls with non-constant receiver are affected
        W = H: none

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: