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

Andrew Haley aph at openjdk.org
Mon Jan 26 12:10:49 UTC 2026


On Mon, 26 Jan 2026 11:39:33 GMT, Aleksey Shipilev <shade 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?

Er, no. I was somewhat over simplifying things. As you were.  :-)

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

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


More information about the hotspot-dev mailing list