RFR: 8316657: Support whitebox testing in microbenchmarks
Magnus Ihse Bursie
ihse at openjdk.org
Fri Dec 8 16:19:15 UTC 2023
On Wed, 6 Dec 2023 15:32:14 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> The need to use whitebox-testing (wb.jar) from JMH microbenchmarks has recently arisen.
Alternatively, I could also unpack wb.jar alongside `$(JMH_CORE_JAR) $(JMH_COMMONS_MATH_JAR) $(JMH_JOPT_SIMPLE_JAR)`, and re-pack it into `benchmarks.jar`. My gut feeling was that it "polluted" benchmarks.jar unnecessarily, but then again it also creates an additional jar dependency. If the "I just want a single jar with everything" is an important driver here, then that is perhaps the way to go?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16996#issuecomment-1847467298
More information about the build-dev
mailing list