Integrated: 7903367: JMH: Add JMHSample_39_MemoryAccess

Michael Mirwaldt duke at openjdk.org
Mon Oct 24 14:13:43 UTC 2022


On Wed, 12 Oct 2022 23:34:59 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?

This pull request has now been integrated.

Changeset: 77084847
Author:    mmirwaldt <michael.mirwaldt at gmail.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jmh/commit/7708484728b73b8ceed8b71dd3068010d588173e
Stats:     135 lines in 1 file changed: 135 ins; 0 del; 0 mod

7903367: JMH: Add JMHSample_39_MemoryAccess

Reviewed-by: shade

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

PR: https://git.openjdk.org/jmh/pull/85


More information about the jmh-dev mailing list