RFR: 8312014: [s390x] TestSigInfoInHsErrFile.java Failure
sid8606
duke at openjdk.org
Mon Jul 17 10:44:21 UTC 2023
On Fri, 14 Jul 2023 17:04:56 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> src/hotspot/share/utilities/vmError.hpp line 210:
>>
>>> 208:
>>> 209: // Non-null address guaranteed to generate a SEGV mapping error on read, for test purposes.
>>> 210: static constexpr intptr_t segfault_address = AIX_ONLY(-1) NOT_AIX(4 * K);
>>
>> Are we sure ARM & RISC-V will be happy with these changes, Maybe using `S390_ONLY` will be appropriate(?)
>
> Yes. And before we start cascading ifdefs here, please spread this definition out into the respective platform files. For the s390 version, could you please add a clear comment describing the reasoning? Do all s390 linux variants using 4K pages - is it valid to hardcode that?
Thank you for the reviews @tstuefe and @offamitkumar . The all linux variants on s390x uses 4K page setting.
I am making changes to move segfault_address to platform files.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14888#discussion_r1265170247
More information about the hotspot-dev
mailing list