RFR: 8338110: exclude Fingerprinter::do_type from ubsan checks

Matthias Baesken mbaesken at openjdk.org
Mon Aug 12 07:19:30 UTC 2024


On Fri, 9 Aug 2024 11:53:38 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> For now we still have undefined behavior in Fingerprinter::do_type reported by ubsan ; exclude the method from ubsan checks until the signature handling code is adjusted .
> 
> With this change I can finally build with ubsan enabled, without special additional setting (using gcc devkit11.3.0 , on Linux x86_64).

Hi Afshin, it is probably not a 'false positive' case .
https://bugs.openjdk.org/browse/JDK-8331201
stays open; it is just excluded for now, to be able to build ubsan-enabled binaries without  special switches or patches .
At some point in time JDK-8331201 could be addressed (see the comments of Axel on this JBS bug).

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

PR Comment: https://git.openjdk.org/jdk/pull/20522#issuecomment-2283259586


More information about the hotspot-runtime-dev mailing list