RFR: Samples/jmh sample 39 memory access
Michael Mirwaldt
duke at openjdk.org
Wed Oct 12 23:42:01 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?
-------------
Commit messages:
- Update JMHSample_39_MemoryAccess.java
- Removed duplicate of copyright banner
- added sample JMHSample_39_MemoryAccess
Changes: https://git.openjdk.org/jmh/pull/85/files
Webrev: https://webrevs.openjdk.org/?repo=jmh&pr=85&range=00
Stats: 121 lines in 1 file changed: 121 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