RFR: 8359114: [s390x] Add z17 detection code

Amit Kumar amitkumar at openjdk.org
Wed Jun 11 05:04:27 UTC 2025


On Tue, 10 Jun 2025 10:48:48 GMT, Manjunath S Matti. <duke at openjdk.org> wrote:

> Add support to detect the new generation of Z machine (z17).

src/hotspot/cpu/s390/vm_version_s390.hpp line 124:

> 122: // ----------------------------------------------
> 123: #define  BEAREnhFacilityMask            0x4000000000000000UL  // z16, BEAR-enhancement facility, Bit: 193
> 124: #define  ConcurrentFunFacilityMask      0x0040000000000000UL  // z17, Concurrent-functions facility, Bit: 201

I think above comment in Line 121 is incorrect about bits covered in DW[3] and seems like comment about DW[2] is also incorrect. Can you update those as well. 


DW[2] should cover bits: 128–191
DW[3] should cover bits: 192–255

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25718#discussion_r2139194137


More information about the hotspot-dev mailing list