On Sat, 25 Apr 2026 13:20:25 GMT, Vladimir Kozlov <[email protected]> wrote:
>> src/hotspot/share/code/aotCodeCache.hpp line 109: >> >>> 107: uint _name_size; >>> 108: uint _code_offset; // Start of code in cache >>> 109: uint _code_size; // Total size of all code sections >> >> this is unused; can be removed. > > Removing `_code_size` caused cache corruption or memory stomp - when load AOT > stubs we hit assert that stub ID is invalid. Need more time to investigate. > `sizeof(AOTCodeEntry)` is `44` after this removal. May be something expect it > should be 8 bytes aligned? Found and fixed some alignments. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30778#discussion_r3142280451
