On Thu, 20 Jul 2023 15:34:33 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

> > it's likely to introduce non-trivial additional overhead
> 
> What do you mean? E.g. where would the overhead come from?

You suggested changes stored the ByteBuffer into a field. I measured throughput 
with JMH, and it shows that using ByteBuffer like this results in over 50% drop 
in throughput.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14636#discussion_r1269653896

Reply via email to