RFR: 8350303: ARM32: StubCodeGenerator::verify_stub(StubGenStubId) failed after JDK-8343767

Hao Sun haosun at openjdk.org
Wed Feb 19 08:55:13 UTC 2025


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

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

Commit messages:
 - 8350303: ARM32: StubCodeGenerator::verify_stub(StubGenStubId) failed after JDK-8343767

Changes: https://git.openjdk.org/jdk/pull/23687/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23687&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350303
  Stats: 4 lines in 1 file changed: 2 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/23687.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23687/head:pull/23687

PR: https://git.openjdk.org/jdk/pull/23687


More information about the hotspot-dev mailing list