RFR: 8346888: [ubsan] block.cpp:1617:30: runtime error: 9.97582e+36 is outside the range of representable values of type 'int'
Matthias Baesken
mbaesken at openjdk.org
Wed Mar 26 08:37:14 UTC 2025
On Tue, 25 Mar 2025 18:01:57 GMT, Dean Long <dlong at openjdk.org> wrote:
> Yes, we should fix frequency calculation in a separate follow up. I was trying to better understand what is going on, to see what value to clamp the result to. If this can only happens for infinite loops, then it seems like clamping to_pct to 100 is the right answer. And as Tom said, if we get it wrong, we just get a less good layout.
Okay so not INT_MAX but 100 ; should I do it from both `from_pct ` and `to_pct ` ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23962#issuecomment-2753594389
More information about the hotspot-compiler-dev
mailing list