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

Customize LambdaForms which are invoked using MH.invoke/invokeExact

XMLWordPrintable

        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

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

                Created:
                Updated:
                Resolved: