RFR: JDK-8298448: UndefinedBehaviorSanitizer [v7]

Justin King jcking at openjdk.org
Mon Dec 12 10:25:22 UTC 2022


> 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.

Justin King has updated the pull request incrementally with one additional commit since the last revision:

  Support both C and C++
  
  Signed-off-by: Justin King <jcking at google.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11604/files
  - new: https://git.openjdk.org/jdk/pull/11604/files/cdbb6492..a8c089cd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11604&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11604&range=05-06

  Stats: 31 lines in 3 files changed: 8 ins; 20 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/11604.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11604/head:pull/11604

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


More information about the core-libs-dev mailing list