RFR: 8346914: UB issue in scalbnA

Andrew Haley aph at openjdk.org
Sat Jun 21 12:21:31 UTC 2025


On Fri, 20 Jun 2025 16:06:24 GMT, Kim Barrett <kbarrett 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.

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

Marked as reviewed by aph (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25917#pullrequestreview-2947750811


More information about the hotspot-dev mailing list