On Sun, 23 Jun 2024 08:47:25 GMT, Shaojin Wen <d...@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: > > private static final field `UNSAFE` Optimizing in C2 is a better approach and worth waiting for. ------------- PR Comment: https://git.openjdk.org/jdk/pull/19626#issuecomment-2192703305