RFR: 8346890: AArch64: Type profile counters generate suboptimal code [v3]

Aleksey Shipilev shade at openjdk.org
Fri Jan 24 09:52:46 UTC 2025


On Thu, 23 Jan 2025 12:01:03 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> Type profile counters are emitted many times in C1-generated code. The generator was written a long time ago before we knew how best to write AArch64 code, and the generated code is rather suboptimal.
>> 
>> This PR reduces the size of a typical bimorphic type profile counter from 33 to 27 instructions.
>
> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix comments

Marked as reviewed by shade (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/23012#pullrequestreview-2572186996


More information about the hotspot-dev mailing list