hg: jdk/submit: 8247605: Avoid array allocation when concatenating with empty string

amaembo at gmail.com amaembo at gmail.com
Tue Jun 16 03:17:48 UTC 2020


Changeset: 20d92fe3ac52
Author:    tvaleev
Date:      2020-06-16 03:16 +0000
URL:       https://hg.openjdk.java.net/jdk/submit/rev/20d92fe3ac52

8247605: Avoid array allocation when concatenating with empty string
Reviewed-by: redestad, plevart

! src/java.base/share/classes/java/lang/StringConcatHelper.java
! test/micro/org/openjdk/bench/java/lang/StringConcat.java



More information about the jdk-submit-changes mailing list