Integrated: 8352084: Add more test code in TestSetupAOT.java

Ioi Lam iklam at openjdk.org
Tue Mar 18 00:52:16 UTC 2025


On Fri, 14 Mar 2025 20:13:57 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> I modified TestSetupAOT.java to exercise more functionalities in the JDK so that we can have a more substantial AOT cache when running tests with `AOT_JDK=true`. E.g:
> 
> 
> make test JTREG=AOT_JDK=true \
>     TEST=open/test/jdk/java/util/TimeZone/ListTimeZones.java
> 
> 
> Before: the generated AOT cache was about 20 MB, with 2245 classes and 125 resolved indies
> After:  the generated AOT cache is about 34 MB, with 4703 classes and 912 resolved indies
> 
> I verified with Mach5 tiers 4, 5, 6, 10 with all tests tasks that have the label `.*aot.jdkcache.*`

This pull request has now been integrated.

Changeset: 38499b3f
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/38499b3fbfcd22252ddf860d42b9eb0bf6f77235
Stats:     185 lines in 5 files changed: 159 ins; 1 del; 25 mod

8352084: Add more test code in TestSetupAOT.java

Reviewed-by: erikj, kvn, lmesnik

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

PR: https://git.openjdk.org/jdk/pull/24067


More information about the build-dev mailing list