On Mon, 30 Aug 2021 13:15:20 GMT, Сергей Цыпанов <github.com+10835776+stsypa...@openjdk.org> wrote:
> Hi, just curious how have you found out that the code should be extracted > into a separate methods? Profiler? I saw that `String::length` calls appeared more than once with async-profiler, then did some experiments to see if manually inlining so that only one call was needed helped (and it did). ------------- PR: https://git.openjdk.java.net/jdk/pull/5291