[riscv-port] Integrated: 8277392: riscv: Port missing trampoline logic from AArch64 platform

zhengxiaolinX duke at openjdk.java.net
Fri Nov 19 10:46:59 UTC 2021


On Thu, 18 Nov 2021 12:38:35 GMT, zhengxiaolinX <duke at openjdk.java.net> wrote:

> Hi team,
> 
> Java calls will jump to the trampoline stub even if the target address is directly reachable by using a simple `jal` before this patch. After adding back the logic from the AArch64 platform, we find a nearly 4% performance enhancement on SPECjbb2005/15. Tested tests under hotspot/ and jdk/. [Original Patch](https://github.com/riscv-collab/riscv-openjdk/pull/8)
> 
> Thanks,
> Xiaolin

This pull request has now been integrated.

Changeset: 398cec38
Author:    yunyao.zxl <yunyao.zxl at alibaba-inc.com>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.java.net/riscv-port/commit/398cec38a05fea7a434b6be087f4241bcad16d2f
Stats:     6 lines in 1 file changed: 4 ins; 0 del; 2 mod

8277392: riscv: Port missing trampoline logic from AArch64 platform

Reviewed-by: fyang

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

PR: https://git.openjdk.java.net/riscv-port/pull/8


More information about the riscv-port-dev mailing list