RFR: 8337066: Repeated call of StringBuffer.reverse with double byte string returns wrong result [v2]

Igor Veresov iveresov at openjdk.org
Tue Oct 8 15:41:59 UTC 2024


On Tue, 8 Oct 2024 06:13:41 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> Looks good to me otherwise. You might want to run performance testing just to make sure.

While working on it I inserted a printf in it and the loop almost never happens since Loads are typically normalized. So, I don't think there is any impact on performance and I don't think checking for controlled dependency is necessary. It would also require us to carry this information to mach nodes...

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

PR Comment: https://git.openjdk.org/jdk/pull/21222#issuecomment-2400194839


More information about the hotspot-compiler-dev mailing list