On Fri, 11 Sep 2026 21:45:36 GMT, Vladimir Kozlov <[email protected]> wrote:

>>> So we already have this problem in the current code base.
>> 
>> I am wrong here. It is not a problem because the flag 
>> `ValueTypeReturnedAsFields` is already being recorded in the AOTCodeCache 
>> config.
>
> The PR has several conditional `ADD_EXTERNAL_ADDRESS` guarded by flags. Those 
> flags are recorded in Config and checked before we access this table.
> 
> But I like @rose00 idea of recording _extrs_length and other AOT address 
> table length in config fro fast check. It will catch case when guarding flag 
> is not recorded in Config.

I implemented recording extrs_length and checking it on load.

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

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

Reply via email to