On Sun, 16 Aug 2026 12:11:20 GMT, Yunbo Zhang <[email protected]> wrote:
> This addresses JDK-8378896. > > This adds a `clean-microbenchmark` make target for microbenchmark development. > The target removes the following directories from the build output: > > - `support/test/micro` > - `images/test/micro` > > I did not add a dedicated test for this build-system cleanup target. Instead, > I > validated it with the existing Make tests and a clean/rebuild cycle. > > Testing: > > - `make test-make` > - `make build-microbenchmark` > - Verified that `support/test/micro` and `images/test/micro` were created. > - `make clean-microbenchmark` > - Verified that both microbenchmark output directories were removed. > - Re-ran `clean-microbenchmark` successfully with the output directories > absent. > - Rebuilt the microbenchmarks successfully after cleaning and verified that > `images/test/micro/benchmarks.jar` was generated. > > > $ make clean-microbenchmark > > Building target 'clean-microbenchmark' in configuration > 'linux-aarch64-server-release-jmh' > Cleaning microbenchmark build artifacts ... done > Finished building target 'clean-microbenchmark' in configuration > 'linux-aarch64-server-release-jmh' > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: efd8ae10 Author: Yunbo Zhang <[email protected]> Committer: Chen Liang <[email protected]> URL: https://git.openjdk.org/jdk/commit/efd8ae1047cb87a96a2e355c8954c557337a1b96 Stats: 13 lines in 2 files changed: 12 ins; 0 del; 1 mod 8378896: A make target "clean-microbenchmark", for micro development Reviewed-by: erikj ------------- PR: https://git.openjdk.org/jdk/pull/32383
