RFR: 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:37:18 UTC 2025


On Thu, 20 Mar 2025 10:16:06 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> This PR addresses undefined behavior in CodeBuffer by making `verify_section_allocation` return early for a partially initialized CodeBuffer.
>
> With your patch applied I do not see the failure any more,
> compiler/jvmci/errors/TestInvalidCompilationResult
> runs successfully.

Any further comments @MBaesken ?

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

PR Comment: https://git.openjdk.org/jdk/pull/24118#issuecomment-2743740020


More information about the hotspot-compiler-dev mailing list