On Wed, 28 Aug 2024 13:16:03 GMT, Shaojin Wen <s...@openjdk.org> wrote:

> A small optimization makes BufWriterImpl's writeU1/U2/Int/Long methods more 
> C2-friendly and improves performance.

Needs to mask with `& 0xFF` in these places, otherwise you're changing 
semantics.

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

Changes requested by redestad (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20748#pullrequestreview-2268433476

Reply via email to