RFR: [Fibula] Make OutputFormatAdapter public
Galder Zamarreño
galder at openjdk.org
Tue Jun 17 12:36:20 UTC 2025
On Tue, 17 Jun 2025 12:31:28 GMT, Galder Zamarreño <galder at openjdk.org> wrote:
> This is the first in a series of PRs that I will be sending over the next few days, which make extending JMH to benchmark Java code running as GraalVM native images more easily. The codename for this extension is Fibula. It can still work without this PRs but without them the extension has to duplicate code that exists in JMH, which is not desirable.
>
> In this PR, we make `OutputFormatAdapter` public.
>
> Why do that? This enables Fibula to reuse the same class when it wants to redirect the output from the process to the JMH output. This is useful for example when Fibula's PGO integration invokes native image to recreate the binary with the profiling information, see https://github.com/galderz/fibula/commit/20eaf64936ef3e8f77eaed2ac7e8094b57e66a8d
Oh forgot, I'll create a CODETOOLS issue for each of these PRs, coming...
-------------
PR Comment: https://git.openjdk.org/jmh/pull/158#issuecomment-2980198087
More information about the jmh-dev
mailing list