RFR: 8254082: AbstractStringBuilder.insert(int dstOffset, CharSequence s, int start, int end) is missing fast-path for String [v4]
Сергей Цыпанов
github.com+10835776+stsypanov at openjdk.java.net
Sat Nov 28 15:10:55 UTC 2020
On Sat, 28 Nov 2020 14:10:10 GMT, Claes Redestad <redestad at openjdk.org> wrote:
>> Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8254082: Consolidate putStringAt() methods: make length represent char count
>
> Looks good to me.
>
> Theoretically the refactored `getBytes(byte[], int, byte)` should have no cost, but could cause some issues in some microbenchmarks that touches this. You mentioned this was used by StringConcatHelper, so could you run the org.openjdk.bench.java.lang.StringConcat micros to check that there are no regressions?
@cl4es Could you tell me where can I look for a command to run the benchmark?
-------------
PR: https://git.openjdk.java.net/jdk/pull/402
More information about the core-libs-dev
mailing list