RFR: 8315934: RISC-V: Disable conservative fences per vendor
Robbin Ehn
rehn at openjdk.org
Wed Sep 13 09:40:39 UTC 2023
On Tue, 12 Sep 2023 14:27:40 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:
> Conservative fences are not a requirement on some RISC-V hardware for correctness, but can bring a performance penalty. Let's make sure we disable them on a per-vendor basis, and keep them enabled for the default case.
Seems reasonable when looking at other platforms vm versions.
You may consider turn off ztso if someone really wants a lot of extra fencing :)
-------------
Marked as reviewed by rehn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15684#pullrequestreview-1624125478
More information about the hotspot-dev
mailing list