RFR: 8310949: RISC-V: Initialize UseUnalignedAccesses [v5]

Vladimir Kempik vkempik at openjdk.org
Wed Jun 28 09:33:06 UTC 2023


On Wed, 28 Jun 2023 09:20:13 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

>> 8310949: RISC-V: Initialize UseUnalignedAccesses
>
> Ludovic Henry has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review

One case to consider:
lets say I have a system with X big cores ( which support MISALIGNED_FAST) and X small cores ( with MISALIGNED_EMU)

if I run some java workload on all cores, what should hw_prober return ?  obvious result here is to use +AvoidUnallignedAccesses.

If I run same java workload but use taskset to run it only on big cores, how will jdk's hw_prober code work ? should it work properly and disable AvoidUnallignedAccesses or it's too much and one need to manually set -XX:-AvoidUnallignedAccesses ?

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

PR Comment: https://git.openjdk.org/jdk/pull/14676#issuecomment-1611078751


More information about the hotspot-dev mailing list