RFR: 8361380: ARM32: Atomic stubs should be in pre-universe

Aleksey Shipilev shade at openjdk.org
Fri Jul 11 18:08:21 UTC 2025


On Fri, 11 Jul 2025 17:04:22 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Hey @adinn, I am probably confused how the stubs machinery is supposed to work. This patch looks simple, but Zero now fails with:
> 
> ```
> $ CONF=linux-x86_64-zero-fastdebug make images
> Building target 'images' in configuration 'linux-x86_64-zero-fastdebug'
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  Internal Error (/home/shade/trunks/jdk/src/hotspot/share/runtime/stubInfo.cpp:169), pid=986601, tid=986604
> #  assert(idx2 >= 0 && idx2 >= idx1) failed: bad blob ids first -1 and second -1
> #
> ```
> 
> What's the landmine here?

Oh wait, Linux x86_64 zero build fails like this even without this patch, ha.

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

PR Comment: https://git.openjdk.org/jdk/pull/26270#issuecomment-3063140796


More information about the hotspot-dev mailing list