Re: RFR: 8212597: Optimize String concatenation setup when using primitive operands

2018-10-17 Thread Claes Redestad
On 2018-10-17 17:03, Aleksey Shipilev wrote: On 10/17/2018 04:55 PM, Claes Redestad wrote: Webrev: http://cr.openjdk.java.net/~redestad/8212597/jdk.00/ Nice. Thanks! This optimization is obvious in hindsight! Aren't they all? :-) /Claes

Re: RFR: 8212597: Optimize String concatenation setup when using primitive operands

2018-10-17 Thread Aleksey Shipilev
On 10/17/2018 04:55 PM, Claes Redestad wrote: > Webrev: http://cr.openjdk.java.net/~redestad/8212597/jdk.00/ Nice. This optimization is obvious in hindsight! -Aleksey

RFR: 8212597: Optimize String concatenation setup when using primitive operands

2018-10-17 Thread Claes Redestad
Hi, this patch optimizes setup of the default strategy for indified String concat to setup and use fewer intermediary MHs when some arguments are non-char primitives. Webrev: http://cr.openjdk.java.net/~redestad/8212597/jdk.00/ Bug: https://bugs.openjdk.java.net/browse/JDK-8212597 I've clean