RFR: 8366145: Help diagnose ubsan division by zero in computing pause time ratios

Kim Barrett kbarrett at openjdk.org
Wed Aug 27 14:21:48 UTC 2025


On Wed, 27 Aug 2025 14:08:34 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Do you want me to remove the right `fabs` or both `fabs`? I am not interested in an epsilon, I want to see when we get a real division by zero. The code clamps the big value after the computation.
>
> just the one suggested in the Suggestion box is good enough.

I think `fabs` is just clutter, and doesn't add anything.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26939#discussion_r2304062284


More information about the hotspot-gc-dev mailing list