RFR: 8324304: RISC-V: add hw probe flags [v2]
Fei Yang
fyang at openjdk.org
Fri Jan 26 09:45:27 UTC 2024
On Thu, 25 Jan 2024 19:12:16 GMT, Hamlin Li <mli at openjdk.org> wrote:
> I'm not sure, as these vm options (UseZic64b, UseZicbom, UseZicbop and UseZihintpause) are not `enable`d in RiscvHwprobe::add_features_from_query_result(), so I think they are not enabled automatically even if the hw supports these features, unless a vendor want to enable them.
Sorry, I missed that before. I think you are right.
> So, I think it's good to keep auto-enablement of Zicboz/Ztso/Zacas in vm_version_riscv.hpp, and remove the enable code of these options in RiscvHwprobe::add_features_from_query_result() in this patch?
Yeah, that will be more consistent.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17519#issuecomment-1911757529
More information about the hotspot-runtime-dev
mailing list