> 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: StringLatin1 & StringUTF16 use the same logic ------------- Changes: - all: https://git.openjdk.org/jdk/pull/19626/files - new: https://git.openjdk.org/jdk/pull/19626/files/dd97cff3..67be25c7 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=19626&range=05 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19626&range=04-05 Stats: 63 lines in 3 files changed: 31 ins; 10 del; 22 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