On Sat, 18 Apr 2026 00:39:43 GMT, Vladimir Kozlov <[email protected]> wrote:

> hmm, I got a crash with my patch. I will debug that some time later.

@vnkozlov this crash is because of this assertion failure:


#
#  Internal Error 
(/home/asmehra/data/ashu-mehra/jdk/src/hotspot/share/code/aotCodeCache.cpp:3948),
 pid=1647512, tid=1647530
#  assert(false) failed: Address 0x00007f13f7116120 for 
Stub:string_indexof_linear_ll_stub (stub gen) is missing in AOT Code Cache 
addresses table


Looking at `generate_string_indexof()` in 
`cpu/x86/c2_stubGenerator_x86_64_string.cpp`, unless I missed something, it 
looks like we are not storing the stub in the AOTCodeCache. I don't see calls 
to `load_archive_data()` or `store_archive_data()` for these stubs. 
@adinn did we miss out storing these stubs in the aot code cache?

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

PR Comment: https://git.openjdk.org/jdk/pull/30778#issuecomment-4272373308

Reply via email to