RFR: 8350303: ARM32: StubCodeGenerator::verify_stub(StubGenStubId) failed after JDK-8343767
Aleksey Shipilev
shade at openjdk.org
Wed Feb 19 09:46:53 UTC 2025
On Wed, 19 Feb 2025 08:50:20 GMT, Hao Sun <haosun at openjdk.org> wrote:
> We encountered the following runtime error on ARM32:
>
>
> assert(StubRoutines::stub_to_blob(stub_id) == blob_id()) failed: wrong blob initial for generation of stub atomic_add
>
>
> I suppose it might be a mistake in JDK-8343767. `atomic_add` stub belongs to **initial** stubs, but it is set as **compiler** stub in JDK-8343767.
>
> Note that only ARM32 is affected as only ARM32 defines this stub.
>
> Tests: cross-build for `arm32, ppc64, riscv64, s390x` passed. Tier1~3 passed on Linux/AArch64 and Linux/x86_64
Looks fine to me, with nits. @adinn should take a look as well.
src/hotspot/share/runtime/stubDeclarations.hpp line 556:
> 554: do_entry(initial, fence, fence_entry, fence_entry) \
> 555: do_stub(initial, atomic_add) \
> 556: do_entry(initial, atomic_add, atomic_add_entry, atomic_add_entry) \
Indenting for trailing `` is not tidy.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23687#pullrequestreview-2626209535
PR Review Comment: https://git.openjdk.org/jdk/pull/23687#discussion_r1961319811
More information about the hotspot-dev
mailing list