RFR: 7903367: JMH: Add JMHSample_39_MemoryAccess [v4]
Aleksey Shipilev
shade at openjdk.org
Fri Oct 21 08:12:26 UTC 2022
On Fri, 21 Oct 2022 00:20:28 GMT, Michael Mirwaldt <duke at openjdk.org> wrote:
>> I propose this sample because overlooking the memory layout of e.g. ArrayLists can be a pitfall for benchmarks.
>> This new sample makes users of JMH aware of this problem. It teaches them how to use JMH right.
>> What do you think?
>
> Michael Mirwaldt has updated the pull request incrementally with one additional commit since the last revision:
>
> added shuffled array list
Marked as reviewed by shade (Committer).
-------------
PR: https://git.openjdk.org/jmh/pull/85
More information about the jmh-dev
mailing list