Integrated: 8333893: Optimization for StringBuilder append boolean & null

Shaojin Wen swen at openjdk.org
Tue Nov 5 15:08:45 UTC 2024


On Mon, 10 Jun 2024 12:12:58 GMT, Shaojin Wen <swen at openjdk.org> wrote:

> After PR https://github.com/openjdk/jdk/pull/16245, C2 optimizes stores into primitive arrays by combining values ​​into larger stores.
> 
> This PR rewrites the code of appendNull and append(boolean) methods so that these two methods can be optimized by C2.

This pull request has now been integrated.

Changeset: 5890d943
Author:    Shaojin Wen <swen at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5890d9438bbde88b89070052926a2eafe13d7b42
Stats:     133 lines in 5 files changed: 79 ins; 18 del; 36 mod

8333893: Optimization for StringBuilder append boolean & null

Reviewed-by: liach

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

PR: https://git.openjdk.org/jdk/pull/19626


More information about the core-libs-dev mailing list