RFR: 8344026: Ubsan: prevent potential integer overflow in c1_LIRGenerator_<arch>.cpp file [v8]

Martin Doerr mdoerr at openjdk.org
Wed Dec 11 09:37:39 UTC 2024


On Wed, 11 Dec 2024 07:09:28 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> Is this just undefined behaviour, but no compiler so far actually does something unexpected?

Exactly. The compilers already seem to generate code which matches the unsigned behavior. Only UBSan checks found the issue. They run into the issue with existing tests.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22144#discussion_r1879708667


More information about the hotspot-compiler-dev mailing list