RFR: 8324833: Signed integer overflows in ABS [v5]

Aleksey Shipilev shade at openjdk.org
Thu Mar 28 08:15:40 UTC 2024


On Thu, 22 Feb 2024 08:53:24 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> See the details in the bug. I think current `ABS` implementation is beyond repair, and we should just switch to `uabs`.
>> 
>> Additional testing:
>>  - [x] Linux x86_64 fastdebug, `all` with `-ftrapv` (now fully passes!)
>>  - [x] Linux x86_64 fastdebug, `all`
>
> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix a place where we cast to jlong after uabs

All right, I am abandoning this PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/17617#issuecomment-2024637160


More information about the graal-dev mailing list