RFR: Samples/jmh sample 39 memory access [v2]

Michael Mirwaldt duke at openjdk.org
Mon Oct 17 19:18:21 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:

  improved by proposals from first review

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

Changes:
  - all: https://git.openjdk.org/jmh/pull/85/files
  - new: https://git.openjdk.org/jmh/pull/85/files/4e631c73..a56f2f8f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jmh&pr=85&range=01
 - incr: https://webrevs.openjdk.org/?repo=jmh&pr=85&range=00-01

  Stats: 9 lines in 1 file changed: 0 ins; 0 del; 9 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