RFR: 7903367: JMH: Add JMHSample_39_MemoryAccess [v4]
Michael Mirwaldt
duke at openjdk.org
Fri Oct 21 00:20:28 UTC 2022
> 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
-------------
Changes:
- all: https://git.openjdk.org/jmh/pull/85/files
- new: https://git.openjdk.org/jmh/pull/85/files/b23a2a66..8b0a9734
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jmh&pr=85&range=03
- incr: https://webrevs.openjdk.org/?repo=jmh&pr=85&range=02-03
Stats: 18 lines in 1 file changed: 14 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jmh/pull/85.diff
Fetch: git fetch https://git.openjdk.org/jmh pull/85/head:pull/85
PR: https://git.openjdk.org/jmh/pull/85
More information about the jmh-dev
mailing list