RFR: 8224986: (str) optimize StringBuilder.append(CharSequence, int, int) for String arguments

Roger Riggs Roger.Riggs at oracle.com
Wed May 29 16:49:02 UTC 2019


+1

On 05/29/2019 12:04 PM, Claes Redestad wrote:
> Hi Roger,
>
> On 2019-05-29 17:45, Roger Riggs wrote:
>> Hi Claes,
>>
>> With the use of random, you should log the seed for the possibility 
>> to repeat a particular case.
>
> the randomization isn't essential for this microbenchmark, only to
> generate a non-constant String of the given length. I've de-randomized 
> the generation and sanity tested that performance appears unaffected.
>
> Updated in-place: http://cr.openjdk.java.net/~redestad/8224986/open.00/
>
> Thanks!
>
> /Claes
>
>



More information about the core-libs-dev mailing list