Integrated: 8308765: RISC-V: Expand size of stub routines for zgc only

Yadong Wang yadongwang at openjdk.org
Wed May 31 13:16:08 UTC 2023


On Mon, 29 May 2023 14:55:47 GMT, Yadong Wang <yadongwang at openjdk.org> wrote:

> Size of stub routines is over expanded after https://bugs.openjdk.org/browse/JDK-8307058. It should return to a proper size, and only increase when zgc enabled on riscv, same as that on aarch64 and x86 port.
> This PR also guarantees that li16u instructions can only accept 16 bits immediate values when patched or encoded.
> 
> The new size of stubs are tested with -XX:+UseZGC -XX:+ZGenerational -XX:-UseRVC, and checked with -Xlog:stubs.
> 
> Tier 1~3 passed on the unmatched boards.

This pull request has now been integrated.

Changeset: d66b6d8f
Author:    Yadong Wang <yadongwang at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d66b6d8fd24c8404531c7d238cf5f05ea2895a2e
Stats:     9 lines in 3 files changed: 0 ins; 0 del; 9 mod

8308765: RISC-V: Expand size of stub routines for zgc only

Reviewed-by: fjiang, fyang

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

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


More information about the hotspot-dev mailing list