Integrated: 8347343: RISC-V: Unchecked zicntr csr reads
Robbin Ehn
rehn at openjdk.org
Sat Jan 18 09:22:39 UTC 2025
On Thu, 9 Jan 2025 12:55:45 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
> Hi, please consider.
>
> The rdinstret/rdcycle/rdtime are really useful and would be great to add in e.g. JFR.
> But as of now they are not used and zicntr is not yet in hwprobe therefore this patch just make sure they can't be used.
>
> If we need them before hwprobe we can add a flag for manually enabling them.
>
> Sanity tested.
>
> Thanks!
This pull request has now been integrated.
Changeset: 1f0efc00
Author: Robbin Ehn <rehn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1f0efc00913e57690b57b7425bcc7dd6373e698f
Stats: 36 lines in 3 files changed: 9 ins; 18 del; 9 mod
8347343: RISC-V: Unchecked zicntr csr reads
Reviewed-by: fyang, mli
-------------
PR: https://git.openjdk.org/jdk/pull/23003
More information about the hotspot-dev
mailing list