[9] RFR (XXS): 8077054: DMH LFs should be customizeable

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Thu Apr 9 18:44:22 UTC 2015


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"


More information about the mlvm-dev mailing list