RFR: 8363620: AArch64: reimplement emit_static_call_stub()

Mikhail Ablakatov mablakatov at openjdk.org
Tue Aug 12 14:27:14 UTC 2025


On Tue, 12 Aug 2025 13:42:04 GMT, Andrew Haley <aph at openjdk.org> wrote:

> My mistake. I should have written CompiledIC::set_to_clean(), which is used.

Doesn't `CompiledIC::set_to_clean()` handle virtual call sites? If you referred to `CompiledDirectCall::set_to_clean()` instead, I believe no miscommunication happened here. What I meant is that `CompiledDirectCall::set_to_clean()` must not *zero out the [method, entry} fields in the stub* by calling `CompiledDirectCall::set_stub_to_clean()`. The latter is currently unused. Should it be removed entirely perhaps?

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

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


More information about the hotspot-dev mailing list