RFR: CODETOOLS-7903369: JMH: GC profiler options

Aleksey Shipilev shade at openjdk.org
Wed Oct 19 18:30:59 UTC 2022


GC profiler has two large parts: measuring allocs and measuring churn. Churn measurement was the first thing implemented in this profiler, and then allocation measurement was added. At this point, churn is seldom used for performance benchmarks, as it is noisy. Additionally, it depends on asynchronous GC notifications, and thus introduces iteration delays to catch up with them.

We can add options to GC profiler and turn off "churn" by default.

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

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jmh/pull/88/files
 Webrev: https://webrevs.openjdk.org/?repo=jmh&pr=88&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903369
  Stats: 213 lines in 3 files changed: 127 ins; 53 del; 33 mod
  Patch: https://git.openjdk.org/jmh/pull/88.diff
  Fetch: git fetch https://git.openjdk.org/jmh pull/88/head:pull/88

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


More information about the jmh-dev mailing list