RFR: 8325730: StringBuilder.toString allocation for the empty String [v3]

Claes Redestad redestad at openjdk.org
Tue Feb 20 18:42:16 UTC 2024


On Tue, 20 Feb 2024 18:30:25 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> It's needed again now that I reverted the code removals.. :-)
>
> Mhm. I don't see any new `@Setup` methods anywhere. Just checked out the PR locally, removed this import and benchmarks still build, and `StringBuilderToString` bench still runs. Am I missing something here?

Gah, I was looking in the wrong place. Fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17931#discussion_r1496321177


More information about the core-libs-dev mailing list