RFR: 8325340: Add ASCII fast-path to Data-/ObjectInputStream.readUTF

Claes Redestad redestad at openjdk.org
Thu Feb 15 10:47:04 UTC 2024


On Wed, 14 Feb 2024 20:04:42 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> As there are no regression tests added by this request, I assume that existing tests must sufficiently cover this area. If so, however, the issue has no `noreg-` label.

At least for `ObjectInputStream` there's a large and seemingly very thorough selection of often randomized tests that explicitly and implicitly exercises `readUTF`, including most of the tests in `java/io/Serializable`. `DataInputStream` tests seem less thorough, though that doesn't matter for this since I'm pulling out those changes. I added `noreg-perf` to the bug.

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

PR Comment: https://git.openjdk.org/jdk/pull/17734#issuecomment-1945820085


More information about the nio-dev mailing list