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

Aleksey Shipilev shade at openjdk.org
Wed Jun 28 08:36:04 UTC 2023


On Tue, 27 Jun 2023 14:00:31 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:
> 
>   fixup! 8310949: RISC-V: Initialize UseUnalignedAccesses

Hey, there is a block before this in the same file:


 if (FLAG_IS_DEFAULT(AvoidUnalignedAccesses)) {
    if (unaligned_access.value() != MISALIGNED_FAST) {
      FLAG_SET_DEFAULT(AvoidUnalignedAccesses, true);
    } else {
      FLAG_SET_DEFAULT(AvoidUnalignedAccesses, false);
    }
}


...which needs to be reconciled with this one? At very least, it shows that it is possible to sense `MISALIGNED_FAST`.

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

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


More information about the hotspot-dev mailing list