This PR aims to compile the compiler testlibrary in `tests/hotspot/jtreg/compiler/lib` into the `test-image`. However, this does not change how compiler tests using these libraries are run; they are still compiled by jtreg when running tests. This change is a convenience to be able to mechanically reduce tests using the IR or template frameworks without jtreg and thus needing those dependencies.
Testing: - [ ] Github Actions - [x] tier1,tier2,tier3 Thanks, Manuel --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Add hotspot compiler testlibrary to test-image Changes: https://git.openjdk.org/jdk/pull/32066/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32066&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8380453 Stats: 89 lines in 2 files changed: 88 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/32066.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32066/head:pull/32066 PR: https://git.openjdk.org/jdk/pull/32066
