RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v7]
Roger Riggs
rriggs at openjdk.org
Fri Apr 7 21:20:52 UTC 2023
On Fri, 7 Apr 2023 12:05:28 GMT, Lutz Schmidt <lucy at openjdk.org> wrote:
>> Okay, Lutz is the expert here. Sorry for the noise.
>
> Just to let my voice be heard directly after being cited several times: s390 is used to designate the CPU architecture. The arch-specific files are stored in src/hotspot/cpu/s390 for that reason. Back in the days when SAP contributed the s390 port, there was a discussion which architecture name to use. SAP had used zArch_64 which more closely reflects what the port really is (a 64-bit only port to IBM's z/Architecture). It was a majority decision to use s390 for some historic reasons (I don't remember exactly anymore).
>
> s390x is (almost) always used in conjunction with a Linux OS port. In that respect, linuxs390x is a tautology. OpenJDK does not use this tautology, see src/hotspot/os_cpu/linux_s390 for example.
Thanks for the authoritative answer.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13357#discussion_r1160968894
More information about the serviceability-dev
mailing list