RFR: 8316657: Support whitebox testing in microbenchmarks

Magnus Ihse Bursie ihse at openjdk.org
Fri Dec 8 16:15: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.

make/RunTests.gmk line 598:

> 596:   endif
> 597: 
> 598:   # Set paths for dependencies

@cl4es So basically this is the line you're objecting to? 

I can remove the change in RunTests.gmk for this patch. That way the wb.jar will be available, but additional work is needed for the micros to access it. But that might, as you say, perhaps be solved within the micros themselves, by annotations or whatever.

Does that sound reasonable?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16996#discussion_r1420726640


More information about the build-dev mailing list