RFR: 8224986: (str) optimize StringBuilder.append(CharSequence, int, int) for String arguments
Claes Redestad
claes.redestad at oracle.com
Wed May 29 16:04:56 UTC 2019
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