On Tue, 21 Oct 2025 14:18:19 GMT, Claes Redestad <[email protected]> wrote:

> To improve and consolidate workflow this PR proposes moving micros-javac from 
> https://github.com/openjdk/jmh-jdk-microbenchmarks into the main OpenJDK tree.
> 
> Most of jmh-jdk-microbenchmarks was effectively migrated in-tree as part of 
> https://openjdk.org/jeps/230 
> These javac benchmarks, however, were added after migration as a stop-gap 
> solution: they rely on an antrun task to download a configurable set of JDK 
> source files deemed problematic to integrate with the JDK build and the 
> resulting benchmark jar is quite bulky (~52M), so unconditionally piling that 
> on the test image built on every change seems unwise.
> 
> Proposal:
> - The JMH benchmarks are moved over as-is along with a flattened and updated 
> maven pom.xml into a new non-jtreg test root, `test/benchmarks/micros-javac`
> - Any integration with the JDK build is deferred to a future enhancement. 
> I.e., no integration with `make test` or equivalent of `make micros-javac` 
> for now. Instead users of these benchmarks are encouraged to build the 
> benchmarks by running `mvn install` in the `micros-javac` folder, similar to 
> what you would do today in the jmh-jdk-microbenchmarks project.

This pull request has now been integrated.

Changeset: da968dc6
Author:    Claes Redestad <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/da968dc645db498b4315e4c8926e7aeb21cc533a
Stats:     699 lines in 6 files changed: 699 ins; 0 del; 0 mod

8370227: Migrate micros-javac benchmarks from jmh-jdk-microbenchmarks

Reviewed-by: asotona, erikj, ecaspole

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

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

Reply via email to