On Wed, 16 Sep 2026 21:35:46 GMT, Vladimir Kozlov <[email protected]> wrote:

>> Improve startup and warmup time by making optimized native code for an 
>> application instantly available when the HotSpot Java Virtual Machine 
>> starts. Achieve this by compiling application code to native code in a 
>> training run, storing the native code in the [AOT 
>> cache](https://openjdk.org/jeps/483#Description) for use in subsequent 
>> production runs.
>> 
>> More details in the [JEP](https://openjdk.org/jeps/544).
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Vladimir Kozlov has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Check result for NULL in address_for_id()

test/hotspot/jtreg/runtime/cds/appcds/aotCode/AOTCodeTestUnknownExternAddress.java
 line 40:

> 38:  * @run driver jdk.test.lib.helpers.ClassFileInstaller -jar app.jar
> 39:  *                 TestUnknownAddress
> 40:  * @run driver/timeout=1500 ${test.main.class}

is timeout 1500 is needed for this test

test/hotspot/jtreg/runtime/cds/appcds/aotCode/TestAOTCodeCounters.java line 39:

> 37:  *                 JavacBenchApp$FileManager
> 38:  *                 JavacBenchApp$SourceFile
> 39:  * @run driver/timeout=1500 ${test.main.class}

Seems that these new tests in the aotCode are executed in tier1. I think that 
they are too expensive for tier1 and should be excluded or moved in directory
runtime/cds/appcds/applications
which is not a part of tier1.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30778#discussion_r4031782312
PR Review Comment: https://git.openjdk.org/jdk/pull/30778#discussion_r4031780933

Reply via email to