RFR: 8333098: ubsan: bytecodeInfo.cpp:318:59: runtime error: division by zero [v2]
Igor Veresov
iveresov at openjdk.org
Tue Aug 20 16:04:51 UTC 2024
On Tue, 20 Aug 2024 15:52:26 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> > > First, I think Tier4MinInvocationThreshold and Tier3MinInvocationThreshold should be double flags.
> > > I see that they are used only in double type expressions (usually with scaling value which is double). May be another RFE.
> >
> >
> > I can open a new JBS issue 'Make Tier4MinInvocationThreshold and Tier3MinInvocationThreshold double flags' is that okay ?
>
> @veresov, do you agree to this suggestion? Or we should restrict values of these flags to not allow 0?
I don't quite see a real need to do that but we can. Should we convert all threshold flags to double then?
About 0. It's actually a valid threshold.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20615#issuecomment-2299209889
More information about the hotspot-compiler-dev
mailing list