RFR: 8315066: Add unsigned bounds and known bits to TypeInt/Long [v57]

Quan Anh Mai qamai at openjdk.org
Fri May 2 11:28:22 UTC 2025


On Fri, 2 May 2025 09:36:40 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Emanuel's reviews
>
> test/hotspot/gtest/utilities/test_intn_t.cpp line 38:
> 
>> 36:     if (i < intn_t<n>::max) {
>> 37:       ASSERT_TRUE(intn_t<n>(i) < intn_t<n>(i + 1));
>> 38:     }
> 
> How about a check for the overflow case?

Done!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17508#discussion_r2071475074


More information about the hotspot-compiler-dev mailing list