Integrated: JDK-8298448: UndefinedBehaviorSanitizer

Justin King jcking at openjdk.org
Thu Jan 12 15:53:29 UTC 2023


On Fri, 9 Dec 2022 06:53:31 GMT, Justin King <jcking at 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.

This pull request has now been integrated.

Changeset: 7a85d95e
Author:    Justin King <jcking at openjdk.org>
Committer: Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7a85d95e828283d57e1df0344be454626470675d
Stats:     114 lines in 6 files changed: 108 ins; 1 del; 5 mod

8298448: UndefinedBehaviorSanitizer

Reviewed-by: erikj, ihse

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

PR: https://git.openjdk.org/jdk/pull/11604



More information about the build-dev mailing list