RFR: 8346866: [ASAN] memoryReserver.cpp reported applying non-zero offset to non-null pointer produced null pointer [v4]

SendaoYan syan at openjdk.org
Fri Jan 3 10:21:39 UTC 2025


On Fri, 3 Jan 2025 08:56:46 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> Maybe simply 1 if we now change this to calculate using offsets.

Do you mean change like this:


-    (size_t) highest_start : align_up(attach_range / num_attempts_to_try, attach_point_alignment);
+    1 : align_up(attach_range / num_attempts_to_try, attach_point_alignment);


I can merge this change if it's necessary.

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

PR Comment: https://git.openjdk.org/jdk/pull/22897#issuecomment-2568996027


More information about the hotspot-runtime-dev mailing list