RFR: 8363620: AArch64: reimplement emit_static_call_stub() [v6]

Andrew Haley aph at openjdk.org
Tue Dec 16 11:03:05 UTC 2025


On Mon, 15 Dec 2025 22:58:07 GMT, Dean Long <dlong at openjdk.org> wrote:

> But maybe there is still a race before the NoSafepointVerifier in resolve_helper if two threads are trying to resolve the same call site and they allow a safepoint during find_callee_info.

I can't really understand why that might matter. I do, though see a possible problem when two threads resolve the same call site. They both lock on`CompiledICLocker`, one wins the race, resolves the site. The other loses, exits, but it sees the patched call site with no intervening ISB.  An ISB in `CompiledICLocker::~CompiledICLocker() ` would fix that.

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

PR Comment: https://git.openjdk.org/jdk/pull/26638#issuecomment-3659955321


More information about the hotspot-dev mailing list