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

Andrew Haley aph at openjdk.org
Fri Jan 10 12:42:23 UTC 2025


> 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:

  Leave for later

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23012/files
  - new: https://git.openjdk.org/jdk/pull/23012/files/3b93519f..0e84904f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23012&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23012&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/23012.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23012/head:pull/23012

PR: https://git.openjdk.org/jdk/pull/23012


More information about the hotspot-dev mailing list