RFR: 8255799: AArch64: CPU_A53MAC feature may be set incorrectly
Andrew Haley
aph at redhat.com
Thu Nov 5 10:17:17 UTC 2020
On 05/11/2020 01:52, Nick Gasson wrote:
> On Wed, 4 Nov 2020 16:46:36 GMT, Andrew Dinn <adinn at openjdk.org> wrote:
>
>>
>> At present reading /proc/cpuinfo that is the only reliable way I know of to identify whether dcpop is a supported feature (used to force persistence of data to memory). That is needed to support use of NVRAM-backed MappedByteBuffers.
>
> I think that comes from `getauxval() & HWCAP_DCPOP`?
If there's anything we need from /proc/cpuinfo in order to run Java, we
really should be raising a bug with the kernel people.
And besides, what happens if you try to use dcpop and it's not supported?
If you get SIGILL, then we're done. We don't have to ask permission if we
can try it.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-dev
mailing list