http://cr.openjdk.java.net/~vlivanov/8077054/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8077054

It's a followup fix for JDK-8069591 [1].

As Charlie observed, it's important to customize DirectMethodHandles as well. Otherwise, additional frame for DMH LambdaForm is created and it causes observable peak performance regression in some situations (e.g. JRuby9K).

Testing: manual (microbenchmark, compilation log inspection).

Thanks!

Best regards,
Vladimir Ivanov

[1] https://bugs.openjdk.java.net/browse/JDK-8069591
     "Customize LambdaForms which are invoked using
      MH.invoke/invokeExact"

Reply via email to