RFR: 8287013: StringConcatFactory: remove short and byte mixers/prependers

Jim Laskey jlaskey at openjdk.java.net
Thu May 19 11:07:47 UTC 2022


On Thu, 19 May 2022 10:47:23 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> The current short and byte mixers and prependers simply delegate to the int variants. At the LambdaForm level the values has already been implicitly cast to int, so removing this indirection and directly adapting to call the int-based variants is possible.
> 
> This is a cleanup with minimal effect on bootstrap overhead and peak performance, since all the LF logic only deals with basic types (where byte and short and other subword primitives has been widened to ints anyhow).

Marked as reviewed by jlaskey (Reviewer).

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

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


More information about the core-libs-dev mailing list