To profile JMH benchmarks running as GraalVM native images, a custom profiler is required that uses perf record with dwarf call traces. In spite of the customisation required, this profiler benefits from reusing existing JMH profiler help and profiler option parsing logic.
This change makes ProfilerOptionFormatter and ProfilerUtils classes public so that they can be reused by the custom profiler.
The benefits of this change can be observed here: https://github.com/galderz/fibula/commit/43fffcf225ab163a97cf0703abe956144adf31e6
This change makes ProfilerOptionFormatter and ProfilerUtils classes public so that they can be reused by the custom profiler.
The benefits of this change can be observed here: https://github.com/galderz/fibula/commit/43fffcf225ab163a97cf0703abe956144adf31e6
- links to
-
Review(master) openjdk/jmh/162