RFR: 8332903: ubsan: opto/output.cpp:1002:18: runtime error: load of value 171, which is not a valid value for type 'bool'

Richard Reingruber rrich at openjdk.org
Fri Jun 14 10:31:16 UTC 2024


On Fri, 14 Jun 2024 09:40:52 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> > The field `_arg_escape` is not initialized in [ppc.ad](https://github.com/openjdk/jdk/blob/6861766b638c5135ba40f261d78d9731954ce5ab/src/hotspot/cpu/ppc/ppc.ad#L3432).
> 
> Thanks for looking at this; this explains why the issue was observed only on ppc machines and so far not on x86_64 / aarch64. Should I add something like `call->_arg_escape = _arg_escape;`
> to the ad file ?

Yes that should help.

> Are there more additional fields of `MachCallJavaNode` that need initialization in ppc.ad ?

I'd look at `Matcher::match_sfpt` to see what needs to be done in ppc.ad.

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

PR Comment: https://git.openjdk.org/jdk/pull/19677#issuecomment-2167731849


More information about the hotspot-compiler-dev mailing list