RFR: 8339366: [jittester] Make it possible to generate tests without execution
duke
duke at openjdk.org
Mon Sep 9 19:51:06 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
@lepestock
Your change (at version 4d66bfdd90885fa25d0c868f0473e0c0e1a0b3e4) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20806#issuecomment-2338949142
More information about the hotspot-compiler-dev
mailing list