RFR: 8339366: [jittester] Make it possible to generate tests without execution
Leonid Mesnik
lmesnik at openjdk.org
Sat Sep 7 01:24:12 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
Marked as reviewed by lmesnik (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/20806#pullrequestreview-2287305082
More information about the hotspot-compiler-dev
mailing list