On Tue, 17 Feb 2026 07:37:52 GMT, Ioi Lam <[email protected]> wrote:

>> Xue-Lei Andrew Fan has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   miss update for FileMapInfo
>
> src/hotspot/share/cds/archiveBuilder.cpp line 327:
> 
>> 325:   // On 32-bit: use 256MB + AOT code size due to limited virtual 
>> address space.
>> 326:   size_t buffer_size = 
>> LP64_ONLY(AOTCompressedPointers::MaxMetadataOffsetBytes)
>> 327:                        NOT_LP64(256 * M + 
>> AOTCodeCache::max_aot_code_size());
> 
> When `CompactObjectHeaders` are enabled, we should reserve a smaller size to 
> avoid assertion.

The AOTCompressedPointers::MaxMetadataOffsetBytes now is set to 3.5GB.  I think 
the size is OK if CompactObjectHeaders is enabled.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29494#discussion_r2819143642

Reply via email to