RFR: 8300463: Build failure on Windows 32 after JDK-8296401 [v2]
Fei Yang
fyang at openjdk.org
Fri Jan 27 12:43:43 UTC 2023
On Fri, 27 Jan 2023 10:39:56 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> Fei Yang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Comment
>
> src/hotspot/share/utilities/concurrentHashTable.inline.hpp line 1000:
>
>> 998: ndel[dels] = rem_n;
>> 999: } else {
>> 1000: guarantee(dels < static_cast<size_t>(std::numeric_limits<int>::max()),
>
> Does the problem go away if this uses `INT_MAX` instead?
Verified on linux-aarch64 that this also fixes this issue. I searched the hotspot shared code and witnessed similar usages. I guess it's better to align with those cases. Fixed.
-------------
PR: https://git.openjdk.org/jdk/pull/12178
More information about the hotspot-dev
mailing list