RFR: 8369393: NMT: poison the canaries of malloc header under ASAN build [v16]
Thomas Stuefe
stuefe at openjdk.org
Tue Nov 25 14:25:35 UTC 2025
On Fri, 7 Nov 2025 08:50:46 GMT, Afshin Zafari <azafari at openjdk.org> wrote:
>> src/hotspot/share/nmt/mallocHeader.hpp line 155:
>>
>>> 153:
>>> 154: uint8_t* footer_address() const { return ((address)this) + sizeof(MallocHeader) + size(); }
>>> 155:
>>
>> Why is this moved to the public interface? If it's for the tests, then use a fixture class and a `friend class` declaration in `MallocHeader`.
>
> No need. Moved to private.
Its still public?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27685#discussion_r2559972870
More information about the hotspot-runtime-dev
mailing list