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

Stefan Karlsson stefank at openjdk.org
Wed Jun 19 09:15:10 UTC 2024


On Wed, 19 Jun 2024 09:05:35 GMT, Matthias Baesken <mbaesken 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.

Will ATTRIBUTE_NO_UBSAN be used in those case?

> Other coding might already handle overflows but only after the overflow happened; so ubsan is triggered but the coding is fine.

This is the part that I'm questioning. I don't think this is true.

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

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


More information about the hotspot-dev mailing list