RFR: JDK-8325876: crashes in docker container tests on Linuxppc64le Power8 machines
Martin Doerr
mdoerr at openjdk.org
Thu Feb 15 16:45:53 UTC 2024
On Thu, 15 Feb 2024 15:37:36 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> > Can we somehow determine the power version of the test machine and only return the older Ubuntu version on Power 8? Otherwise I'm concerned that this never gets updated for Power...
>
> We could look at /proc/cpuinfo and grep for POWER8
>
> ```
> more /proc/cpuinfo
> processor : 0
> cpu : POWER8 (architected), altivec supported
> clock : 3525.000000MHz
> ```
>
> But I would prefer to keep it simple and always use Ubuntu 20.04 as long as we support Power8 .
The WhiteBox API supports `WB.getCPUFeatures()`. That could be used, but I'd prefer to keep it simple, too.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17867#issuecomment-1946546628
More information about the hotspot-runtime-dev
mailing list