[riscv-port] Integrated: 8281632: riscv: Improve interpreter stack banging
Yadong Wang
yadongwang at openjdk.java.net
Tue Mar 8 08:07:39 UTC 2022
On Tue, 22 Feb 2022 06:28:56 GMT, Yadong Wang <yadongwang at openjdk.org> wrote:
> With reference to https://bugs.openjdk.java.net/browse/JDK-8072070, there is the same issue on the riscv platform.
>
>
> Every time we enter a method in interpreter, we bang a lot of stack ahead for shadow zone checks. I believe this could be made significantly better, e.g. by checking how far away we are from the stack_overflow_limit.
>
>
> Hotspot/jdk tier1 passed on unmatched, and all jtreg cases were tested on Qemu without new failures.
>
> Performed the performance regression test in SPECjvm2008 sunflow, and achieved 17% improvement in the interpreter-only mode.
This pull request has now been integrated.
Changeset: 8869a905
Author: Yadong Wang <yadongwang at openjdk.org>
URL: https://git.openjdk.java.net/riscv-port/commit/8869a90553dd71c0013a5501addfe4d50a74d8e5
Stats: 38 lines in 2 files changed: 28 ins; 2 del; 8 mod
8281632: riscv: Improve interpreter stack banging
Reviewed-by: shade, fyang
-------------
PR: https://git.openjdk.java.net/riscv-port/pull/58
More information about the riscv-port-dev
mailing list