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

Chad Rakoczy duke at openjdk.org
Thu Jan 22 00:56:42 UTC 2026


On Tue, 20 Jan 2026 10:09:31 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> ... then we're good to go.
>
> Oh, there is `increment`, nice. There is another counter-update shortcut near `// Corner case: no profile table. Increment poly counter and exit.`, update that one too.

`increment` uses `rscratch1` so I had to update the offset register to be `rscratch2` instead.

`rscratch2` still needs to be used to hold the destination address for the CAS (since it also uses `rscratch1`) so I updated the comment accordingly.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29283#discussion_r2714906967


More information about the hotspot-dev mailing list