On Fri, 13 Dec 2024 20:40:45 GMT, Kim Barrett <kbarr...@openjdk.org> wrote:
> using both at the same time could lead to strange conflicts between them The gcc [documentation](https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html) only mention that `-fsanitize=thread` could not use combined with `-fsanitize=address, -fsanitize=leak` or `-fsanitize=address` can not conbined with `-fsanitize=hwaddress`. Currently jdk do not support `-fsanitize=thread`, which being developd by [JDK-8208520](https://bugs.openjdk.org/browse/JDK-8208520) ? So I think use `--enable-asan --enable-ubsan` together seems to be OK. ------------- PR Comment: https://git.openjdk.org/jdk/pull/22546#issuecomment-2542726949