RFR: 8315841: RISC-V: Check for hardware TSO support
Ludovic Henry
luhenry at openjdk.org
Thu Sep 7 11:41:38 UTC 2023
On Thu, 7 Sep 2023 11:27:25 GMT, Vladimir Kempik <vkempik at openjdk.org> wrote:
> So we would have to build whole java for TSO mode, then UseZtso could be a static compile-time option
We don't have to build hotspot for TSO in order to use it in code generated for Java, given the RVTSO memory model is strictly stronger than RVWMO.
We could indeed set `UseZtso` statically in case hotspot is compiled with TSO. ~I don't know how to check the ELF-compiled options, would you know how we do it elsewhere?~ (you just updated your comment with how to do it)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15613#issuecomment-1709998888
More information about the hotspot-dev
mailing list