RFR: 8203886: Invoke LambdaMetafactory::altMetafactory exactly from the BootstrapMethodInvoker (original) (raw)
Claes Redestad claes.redestad at oracle.com
Mon May 28 13:00:23 UTC 2018
- Previous message: [11] RFR JDK-8203474: Update description of "Cyrillic Supplementary" block name in Character.UnicodeBlock class.
- Next message: RFR: 8203886: Invoke LambdaMetafactory::altMetafactory exactly from the BootstrapMethodInvoker
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
similarly to JDK-8198418[1], we can avoid creation of various LambdaForms and SpeciesData types in various benchmarks by adapting calls to the altMetafactory as exactly as possible in the BootstrapMethodInvoker.
Webrev: http://cr.openjdk.java.net/~redestad/8203886/open.00/ Bug: https://bugs.openjdk.java.net/browse/JDK-8203886
As an example, this means something Comparator.comparingInt(s -> s.hashCode())); uses 14 fewer LFs to set up.
Thanks!
/Claes
[1] https://bugs.openjdk.java.net/browse/JDK-8198418
- Previous message: [11] RFR JDK-8203474: Update description of "Cyrillic Supplementary" block name in Character.UnicodeBlock class.
- Next message: RFR: 8203886: Invoke LambdaMetafactory::altMetafactory exactly from the BootstrapMethodInvoker
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]