RFR: 7903913: JMH: Compiler profiler misses profiled times [v2]

Aleksey Shipilev shade at openjdk.org
Mon Dec 16 18:05:07 UTC 2024


> Despite [CODETOOLS-7903911](https://bugs.openjdk.org/browse/CODETOOLS-7903911), compiler profiler still misses the "profiled" times. At this point, I think the problem is the asynchronous nature of compilations: if compiler completes compilation outside of iteration, profiler would miss it.
> 
> `profiled` is not a great counter, we can replace it with two counters that cover `warmup` and `measure` phases directly.

Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:

  Proper lifecycle

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

Changes:
  - all: https://git.openjdk.org/jmh/pull/149/files
  - new: https://git.openjdk.org/jmh/pull/149/files/db78018c..224137a3

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

  Stats: 40 lines in 2 files changed: 10 ins; 13 del; 17 mod
  Patch: https://git.openjdk.org/jmh/pull/149.diff
  Fetch: git fetch https://git.openjdk.org/jmh.git pull/149/head:pull/149

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


More information about the jmh-dev mailing list