RFR: 8280152: AArch64: Reuse runtime call trampolines in C2
Yi-Fan Tsai
duke at openjdk.org
Thu Jul 7 04:19:22 UTC 2022
A trampoline stub could be generated for each runtime call. These trampolines could be duplication if the callees are the same. This change delays the stub generation and generates one stub for a distinct callee.
Benchmark als, chi-square, dec-tree, gauss-mix, log-regression, movie-lens, naive-bayes, page-rank, fj-means, reactors, future-genetic, mnemonics, dotty, scala-kmeans, and finagle-http in Renaissance (0.14.1) are tested. The sum of the used size of CodeHeap 'non-profiled nmethods' and CodeHeap 'profiled nmethods' shows ~4.7% reduction on average.
-------------
Commit messages:
- Remove dead codes
- Reuse runtime call trampolines
Changes: https://git.openjdk.org/jdk/pull/9405/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9405&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8280152
Stats: 205 lines in 5 files changed: 199 ins; 0 del; 6 mod
Patch: https://git.openjdk.org/jdk/pull/9405.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9405/head:pull/9405
PR: https://git.openjdk.org/jdk/pull/9405
More information about the hotspot-dev
mailing list