RFR: 8333893: Optimization for StringBuilder append boolean & null [v8]
Shaojin Wen
duke at openjdk.org
Thu Jun 13 02:06:42 UTC 2024
> 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 two additional commits since the last revision:
- rename benchmark
- code format & use long address
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19626/files
- new: https://git.openjdk.org/jdk/pull/19626/files/7b3cf602..22d45124
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19626&range=07
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19626&range=06-07
Stats: 43 lines in 3 files changed: 8 ins; 2 del; 33 mod
Patch: https://git.openjdk.org/jdk/pull/19626.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19626/head:pull/19626
PR: https://git.openjdk.org/jdk/pull/19626
More information about the core-libs-dev
mailing list