> 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).

Yunbo Zhang has updated the pull request incrementally with one additional 
commit since the last revision:

  8378896: Fix clean-microbenchmark indentation

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/32383/files
  - new: https://git.openjdk.org/jdk/pull/32383/files/c5a6d383..e4c95105

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=32383&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32383&range=00-01

  Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/32383.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32383/head:pull/32383

PR: https://git.openjdk.org/jdk/pull/32383

Reply via email to