Integrated: 8287013: StringConcatFactory: remove short and byte mixers/prependers
Claes Redestad
redestad at openjdk.java.net
Fri May 20 08:20:46 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).
This pull request has now been integrated.
Changeset: d5d19f52
Author: Claes Redestad <redestad at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/d5d19f52ceb1430104b12a42c78489f42477a9b0
Stats: 87 lines in 2 files changed: 12 ins; 74 del; 1 mod
8287013: StringConcatFactory: remove short and byte mixers/prependers
Reviewed-by: jlaskey
-------------
PR: https://git.openjdk.java.net/jdk/pull/8786
More information about the core-libs-dev
mailing list