On Fri, 17 Apr 2026 13:24:45 GMT, Vladimir Kozlov <[email protected]> wrote:

> > I can take a look at Shenandoah parts, if you want. We probably just 
> > missing a few C1 stubs for it?
> 
> Please do. Look on `AOTCodeAddressTable::set_c1_stubs_complete()` where they 
> are recorded.

This fixes the sizes assert:


diff --git a/src/hotspot/share/code/aotCodeCache.cpp 
b/src/hotspot/share/code/aotCodeCache.cpp
index 4a2c931adaa..b09fe7a68cb 100644
--- a/src/hotspot/share/code/aotCodeCache.cpp
+++ b/src/hotspot/share/code/aotCodeCache.cpp
@@ -3355,7 +3355,7 @@ void AOTCodeReader::read_dbg_strings(DbgStrings& 
dbg_strings, bool use_string_ta
 //   [_stubs_base, _stubs_base + _stubs_max -1],
 //   [_c_str_base, _c_str_base + _c_str_max -1],
 
-#define _extrs_max 380
+#define _extrs_max 400
 #define _stubs_max static_cast<int>(EntryId::NUM_ENTRYIDS)
 
 #define _extrs_base 0


I think your testing was done without Shenandoah built? I see there is a 
`AOTCodeTest` failure on macos-aarch64 too, I am trying to reproduce it locally.

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

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

Reply via email to