On Wed, 25 Nov 2020 13:12:34 GMT, Claes Redestad <redes...@openjdk.org> wrote:

> I do wonder if there's some value to at least some of these noisy, allocating 
> variants, though. Could be interesting to zoom in on code where we allocate 
> transient, small buffers, e.g. when encoding/decoding strings. But perhaps 
> that needs to be designed differently and focus on a specific use case.

Yes, that is an interest case, but largely orthogonal to the primary use-case 
for this particular micro benchmark (or maybe; the primary use-case that I want 
to use this benchmark for ;-) ). It appears to me that the primary purpose is 
to evaluate the memory access operations, so I want to keep buffer allocation 
out of the picture.  Of course, we could decide to just create a new benchmark, 
but then I'm not sure what we'd use the old one for.

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

PR: https://git.openjdk.java.net/jdk/pull/1430

Reply via email to