RFR: 8255799: AArch64: CPU_A53MAC feature may be set incorrectly

Andrew Dinn adinn at openjdk.java.net
Thu Nov 5 15:25:54 UTC 2020


On Thu, 5 Nov 2020 10:40:33 GMT, Anton Kozlov <akozlov 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`?

That assumes that HWCAP_DCPOP is defined on all the Linux/AArch64 releases we still need to build on. I am not sure if that is actually the case.

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

PR: https://git.openjdk.java.net/jdk/pull/1039


More information about the hotspot-dev mailing list