RFR: 8295282: Use Zicboz/cbo.zero to zero-out memory on RISC-V [v11]
Fei Yang
fyang at openjdk.org
Mon Oct 24 12:10:53 UTC 2022
On Mon, 24 Oct 2022 09:33:07 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:
>>> We can already do auto-detection via `/proc/cpuinfo`. I agree it's not the best way nor the most stable way, and I can only assume there will be a better way, but there is already a way.
>>
>> I think I mean extensions like 'Zba', 'Zbb', etc here.
>> Are you sure those could be detected from `/proc/cpuinfo`?
>> I am assuming that only works for extensions contained in RV64GCV (IMAFDCV).
>
> @RealFYang I've done the change as you requested.
Thanks for the update. Looks like DEFAULT_CACHE_LINE_SIZE is not defined anywhere? Looks good, otherwise.
-------------
PR: https://git.openjdk.org/jdk/pull/10718
More information about the hotspot-dev
mailing list