On Fri, 9 Dec 2022 06:53:31 GMT, Justin King <jck...@openjdk.org> wrote:
> Allow building OpenJDK with UBSan. Currently the build fails when optimizing > the image due to lots of undefined behavior (it invokes the built JVM). > Follow up PRs will either replace the undefined behavior with well defined > behavior or suppress errors which are intentional. The goal is to make > OpenJDK more well defined and thus more portable across compilers and > architectures. make/autoconf/jdk-options.m4 line 450: > 448: > ############################################################################### > 449: # > 450: # UndefinedBehaviorSanitizer I think this logic fits better in `flags.m4`, otherwise this looks ok to me. ------------- PR: https://git.openjdk.org/jdk/pull/11604