On Mon, 18 May 2026 18:21:47 GMT, Chen Liang <[email protected]> wrote:
>> For preview of the serialization implementation cleanup. >> >> See the mainline diff version: >> https://gist.github.com/a3440f2b9da5111fe20315e59ed17380 >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Chen Liang has updated the pull request incrementally with one additional > commit since the last revision: > > Message updated src/java.base/share/classes/java/io/ObjectInputStream.java line 2249: > 2247: for (int i = 0; i < slots.length-1; i++) { > 2248: if (slots[i].hasData) { > 2249: new FieldValues(slots[i].desc, true); What's the performance impact of allocating the intermediate array? ------------- PR Review Comment: https://git.openjdk.org/valhalla/pull/2326#discussion_r3349446290
