RFR: 8333893: Optimization for StringBuilder append boolean & null [v19]

Emanuel Peter epeter at openjdk.org
Tue Sep 24 06:39:41 UTC 2024


On Mon, 23 Sep 2024 23:23:12 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.
>
> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix build error

FYI: I have not forgotten this work. I'm going on a 3 week vacation now, and hope to finish the `MergeStores` for `Unsafe` cases somewhere after that.

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

PR Comment: https://git.openjdk.org/jdk/pull/19626#issuecomment-2370317194


More information about the core-libs-dev mailing list