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

Vladimir Kozlov kvn at openjdk.org
Fri Mar 21 15:32:09 UTC 2025


On Thu, 20 Mar 2025 20:45:33 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> And you don't need them in [initialize(address code_start, csize_t code_size)](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/asm/codeBuffer.hpp#L487)

Please ignore this suggestion. For some reasons (not enough coffee :( ) I thought it initializes fields to 0 too. Which is not.

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

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


More information about the hotspot-compiler-dev mailing list