On Tue, 22 Sep 2026 00:41:53 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:
> 
>   Add guarantee to initialize_runtime_shared_and_meta_spaces

src/hotspot/share/code/aotCodeCache.cpp line 3261:

> 3259:         break;
> 3260:       }
> 3261:       case relocInfo::barrier_type: {

This case needs a fallthrough for `case relocInfo::patchable_barrier_type:`

src/hotspot/share/code/aotCodeCache.cpp line 3424:

> 3422:         break;
> 3423:       }
> 3424:       case relocInfo::barrier_type: {

This case needs a fallthrough for `case relocInfo::patchable_barrier_type:`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30778#discussion_r4069923000
PR Review Comment: https://git.openjdk.org/jdk/pull/30778#discussion_r4069925931

Reply via email to