RFR: 8374513: AArch64: Improve receiver type profiling reliability [v2]

Aleksey Shipilev shade at openjdk.org
Mon Jan 26 11:42:27 UTC 2026


On Mon, 26 Jan 2026 10:44:04 GMT, Andrew Haley <aph at openjdk.org> wrote:

> I don't think that we need a CAS here, a StoreLoad after the store would work as well. 

Er, what, why? The whole point is to have atomic `nullptr -> actual-type` transition per receiver slot, so that you claim the slot only once. You cannot achieve this without CASes :) Are you seeing something I am not seeing here?

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

PR Comment: https://git.openjdk.org/jdk/pull/29283#issuecomment-3799139499


More information about the hotspot-dev mailing list