RFR: 7903367: JMH: Add JMHSample_39_MemoryAccess [v6]

Michael Mirwaldt duke at openjdk.org
Fri Oct 21 13:42:15 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 two additional commits since the last revision:

 - Merge remote-tracking branch 'origin/samples/JMHSample_39_MemoryAccess' into samples/JMHSample_39_MemoryAccess
 - corrected author's user name

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

Changes:
  - all: https://git.openjdk.org/jmh/pull/85/files
  - new: https://git.openjdk.org/jmh/pull/85/files/990e0ea6..f6ac9d8f

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

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