RFR: 8334239: Introduce macro for ubsan method/function exclusions [v3]

Matthias Baesken mbaesken at openjdk.org
Wed Jun 19 09:08:15 UTC 2024


On Wed, 19 Jun 2024 07:49:20 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> Do we really intend to use ATTRIBUTE_NO_UBSAN to silence overflow issues? Don't we want to fix all of those?

Some stuff needs fixing in external libs, that can take some  (maybe a lot) of  time.  Other coding might already handle overflows but only after  the overflow happened; so ubsan is triggered  but the coding is fine.
For now I would be in a first step already happy to be able to *build* with ubsan enabled  (we are close to this but not 100% there, I still have to use some patches on top of OpenJDK).

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

PR Comment: https://git.openjdk.org/jdk/pull/19722#issuecomment-2178157829


More information about the hotspot-dev mailing list