RFR: 8213478: Reduce rebinds when applying repeated filters and conversions

2018-11-07 Thread Claes Redestad
Hi, by providing a LambdaFormEditor transform which applies the same filter repeatedly on some selected arguments, we can optimize for cases where there are repeated conversions. This allows the runtime to optimize the internal setup of public API methods such as MethodHandles.filterArguments

Re: RFR: 8213478: Reduce rebinds when applying repeated filters and conversions

2018-11-09 Thread Vladimir Ivanov
Nice work, Claes! Looks good. Best regards, Vladimir Ivanov On 07/11/2018 06:57, Claes Redestad wrote: Hi, by providing a LambdaFormEditor transform which applies the same filter repeatedly on some selected arguments, we can optimize for cases where there are repeated conversions. This allow

Re: RFR: 8213478: Reduce rebinds when applying repeated filters and conversions

2018-11-09 Thread Claes Redestad
On 2018-11-10 01:02, Vladimir Ivanov wrote: Nice work, Claes! Looks good. Thanks, Vladimir! Webrev: http://cr.openjdk.java.net/~redestad/8213478/jdk.00/ Synced up and running some extra testing before push. /Claes