RFR: 8369393: NMT: poison the canaries of malloc header under ASAN build [v20]
Johan Sjölen
jsjolen at openjdk.org
Fri Nov 14 16:47:08 UTC 2025
On Fri, 14 Nov 2025 13:16:35 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> ... compared to a simple const_cast?
I saw that too a week or so ago. I thought the same, but I haven't prioritized putting up the PR.
> Not in a production server. In production as in "trying to find errors in real production scenarios" where the JVM lives for a while. Think a long-running server app that only at certain points in its load hits errors. To do these tests, the app still needs to be somewhat reasonably fast. (like with JIT- most real-world scenarios are difficult to reproduce without a JIT, since you never even get there).
Aha, yes, that's more reasonable and inline with my previous beliefs.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27685#discussion_r2528211542
More information about the hotspot-runtime-dev
mailing list