RFR: 8355237: Upstream AOT test cases from Leyden repo to mainline [v3]

Ioi Lam iklam at openjdk.org
Tue Apr 22 16:57:46 UTC 2025


On Tue, 22 Apr 2025 16:35:22 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> In which first tear aotClassLinking tests are executed?

In our CI, tests under `test/hotspot/jtreg/runtime/cds/appcds/aotClassLinking` are executed in `open/test/hotspot/jtreg/:hotspot_tier2_runtime`

The two tests in `tier1_runtime` (HelloTest.java and HelloAOTCache.java) are executed in 
`open/test/hotspot/jtreg/:tier1_runtime`. HelloAOTCache.java will run with `-XX:+AOTClassLinking` enabled by default (because it uses the `-XX:AOTMode=create -XX:AOTCache=HelloAOTCache.aot` flags). So this test will cover all current and future AOT optimizations that are enabled by default (such as AOT profiles and AOT compiled methods) and it will be a good sanity check.

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

PR Comment: https://git.openjdk.org/jdk/pull/24789#issuecomment-2821926126


More information about the hotspot-runtime-dev mailing list