Integrated: 8352420: [ubsan] codeBuffer.cpp:984:27: runtime error: applying non-zero offset 18446744073709486080 to null pointer

Doug Simon dnsimon at openjdk.org
Fri Mar 21 15:59:24 UTC 2025


On Wed, 19 Mar 2025 15:43:54 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> This PR addresses undefined behavior in CodeBuffer by making `verify_section_allocation` return early for a partially initialized CodeBuffer.

This pull request has now been integrated.

Changeset: b8f38563
Author:    Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b8f3856389258bba7e267ac3ae275072daec31cd
Stats:     4 lines in 2 files changed: 3 ins; 0 del; 1 mod

8352420: [ubsan] codeBuffer.cpp:984:27: runtime error: applying non-zero offset 18446744073709486080 to null pointer

Reviewed-by: kvn, mbaesken

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

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


More information about the hotspot-compiler-dev mailing list