RFR: 8279833: Loop optimization issue in String.encodeUTF8_UTF16 [v2]

Claes Redestad redestad at openjdk.java.net
Tue Jan 11 13:05:03 UTC 2022


On Tue, 11 Jan 2022 12:57:49 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove unused Blackholes
>
> test/micro/org/openjdk/bench/java/lang/StringEncode.java line 113:
> 
>> 111: 
>> 112:     @Benchmark
>> 113:     public byte[] encodeUTF16LongEnd(Blackhole bh) throws Exception {
> 
> Here and later: can drop `bh` argument, since you don't need it anymore.

Fixed, thanks!

-------------

PR: https://git.openjdk.java.net/jdk/pull/7026


More information about the core-libs-dev mailing list