Integrated: 8339366: [jittester] Make it possible to generate tests without execution
Evgeny Nikitin
enikitin at openjdk.org
Mon Sep 9 19:59:10 UTC 2024
On Mon, 2 Sep 2024 07:41:39 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:
> This PR:
>
> 1. Extracts IR tree generation from execution (left in the Automatic) into a dedicated class IRTreeGenerator;
> 2. Introduces a generation result record (named IRTreeGenerator.Test). The record contains main and private classes along with the random seed used for their generation;
> 3. Creates CLI-wrapper classes for Java and ByteCode generators to allow generation-only execution;
> 4. Add a repeating option to the configuration - to make it possible to specify several main class names.
>
> Sample usage:
>
> java -cp build/classes --add-opens java.base/java.util=ALL-UNNAMED \
> jdk.test.lib.jittester.JavaCodeGenerator \
> -k Test_0 -k Test_1 -k Test_10
This pull request has now been integrated.
Changeset: 559fc711
Author: Evgeny Nikitin <enikitin at openjdk.org>
Committer: Leonid Mesnik <lmesnik at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/559fc711e03cf0086bea399ffb40cf294cbbb6e1
Stats: 247 lines in 7 files changed: 167 ins; 59 del; 21 mod
8339366: [jittester] Make it possible to generate tests without execution
Reviewed-by: lmesnik
-------------
PR: https://git.openjdk.org/jdk/pull/20806
More information about the hotspot-compiler-dev
mailing list