On Tue, 1 Sep 2026 04:50:57 GMT, Fei Yang <[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).
>
> src/hotspot/share/code/aotCodeCache.cpp line 3794:
> 
>> 3792:     ADD_EXTERNAL_ADDRESS(SharedRuntime::throw_StackOverflowError);
>> 3793:     
>> ADD_EXTERNAL_ADDRESS(SharedRuntime::throw_delayed_StackOverflowError);
>> 3794:     ADD_EXTERNAL_ADDRESS(StubRoutines::crc_table_addr());
> 
> Drive-by comment: Should we also list `StubRoutines::crc32c_table_addr()`?

@RealFYang No, this needs to be done in arch-specific code. You will hit 
`ShouldNotCallThis()` if you call `StubRoutines::crc32c_table_addr()` on 
AArch64.

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

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

Reply via email to