RFR: 8295282: Use Zicboz/cbo.zero to zero-out memory on RISC-V [v11]

Ludovic Henry luhenry at openjdk.org
Mon Oct 24 09:38:11 UTC 2022


On Mon, 24 Oct 2022 09:13:09 GMT, Fei Yang <fyang 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'll remove this `CacheLineSize` flag for now and we'll revisit later.
>
>> 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.

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

PR: https://git.openjdk.org/jdk/pull/10718


More information about the hotspot-dev mailing list