RFR: 8310843: Reimplement ByteArray and ByteArrayLittleEndian with Unsafe [v10]
Glavo
duke at openjdk.org
Thu Jul 20 15:45:42 UTC 2023
On Thu, 20 Jul 2023 15:34:33 GMT, Maurizio Cimadamore <mcimadamore at 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
More information about the core-libs-dev
mailing list