RFR: 8257074 Update the ByteBuffers micro benchmark [v4]

Jorn Vernee jvernee at openjdk.java.net
Thu Dec 10 14:04:35 UTC 2020


On Thu, 10 Dec 2020 09:46:07 GMT, Chris Hegarty <chegar at openjdk.org> wrote:

>> Marked as reviewed by bpb (Reviewer).
>
> While the updated set of scenarios covered by this benchmark is
> reasonably (and vastly improves coverage), I find myself reluctant to
> add the last remaining buffer property - read-only views. It's time to
> template the generation of this code!

If the cases get to be too many, you might also want to consider splitting the benchmark class into several classes that cover different cases (we did this for the memory access benchmarks as well). That would also make it easier to run a subset of cases in isolation.

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

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


More information about the core-libs-dev mailing list