RFR: 8346914: UB issue in scalbnA

Kim Barrett kbarrett at openjdk.org
Wed Jul 2 00:19:43 UTC 2025


On Sat, 21 Jun 2025 12:18:43 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> Please review this change that replaces uses of our scalbnA function with
>> using the standard scalbn function. Removed scalbnA, and also copysignA.
>> 
>> For more details, see first comment and JBS.
>> 
>> Testing: mach5 tier1-6. Though from discussion in
>> https://github.com/openjdk/jdk/pull/25656, it's hard to get to our uses of
>> scalbn/scalbnA.
>> 
>> Before removing it, I tested scalbnA via a gtest that is attached to the JBS
>> issue.
>
> That makes sense.

Thanks for reviews @theRealAph and @tschatzl

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

PR Comment: https://git.openjdk.org/jdk/pull/25917#issuecomment-3025900519


More information about the hotspot-dev mailing list