Integrated: 8346890: AArch64: Type profile counters generate suboptimal code
Andrew Haley
aph at openjdk.org
Fri Jan 24 10:41:54 UTC 2025
On Thu, 9 Jan 2025 16:30:49 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.
This pull request has now been integrated.
Changeset: 5a0bdd04
Author: Andrew Haley <aph at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5a0bdd04e0d62bbdd01373510cb1d06c586e69b3
Stats: 30 lines in 2 files changed: 16 ins; 6 del; 8 mod
8346890: AArch64: Type profile counters generate suboptimal code
Reviewed-by: shade, adinn
-------------
PR: https://git.openjdk.org/jdk/pull/23012
More information about the hotspot-dev
mailing list