Integrated: 8349183: [BACKOUT] Optimization for StringBuilder append boolean & null

Jaikiran Pai jpai at openjdk.org
Mon Feb 3 18:24:52 UTC 2025


On Mon, 3 Feb 2025 15:48:00 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which backs out the commit that was introduced for https://bugs.openjdk.org/browse/JDK-8333893?
> 
> The comment in the PR review of that issue https://github.com/openjdk/jdk/pull/19626#issuecomment-2628937397 explains what the issue is with the change that was integrated. Furthermore, one part of that original change introduced a few internal methods. These internal methods were then used in few other places within the JDK through https://bugs.openjdk.org/browse/JDK-8343650. As a result, this backout PR also reverts the change that was done in JDK-8343650.
> 
> The backout was done as follows, using `git revert` against the 2 relevant commits:
> 
> 
> git revert 74ae3c688b37e693e20eb4e17c631897c5464400
> git revert 5890d9438bbde88b89070052926a2eafe13d7b42
> 
> The revert of `5890d9438bbde88b89070052926a2eafe13d7b42` wasn't clean and I had to resolve a trivial conflict in `StringLatin1.java`.
> 
> tier1, tier2 and tier3 testing is currently in progress with this change. Once this is integrated into mainline, a corresponding backport will be done to `jdk24` branch with the requisite approvals.

This pull request has now been integrated.

Changeset: 618c5eb2
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/618c5eb27b4c719afd577b690e6bcb21a45fcb0d
Stats:     169 lines in 6 files changed: 46 ins; 79 del; 44 mod

8349183: [BACKOUT] Optimization for StringBuilder append boolean & null
8349239: [BACKOUT] Reuse StringLatin1::putCharsAt and StringUTF16::putCharsAt

Reviewed-by: redestad, liach

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

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


More information about the core-libs-dev mailing list