Currently, NMT can detect memory corruption only at free time by checking the canary values in the header and footer. We can poison the canary parts using ASAN API to get notified(asserted) immediately after reading/writing of them.
- relates to
-
JDK-8377429 Warning as error in asan build in test_nmt_cornercases.cpp on Linux
-
- Resolved
-
-
JDK-8369022 NMT has detected a memory corruption bug: ChunkPool
-
- Closed
-
- links to
-
Commit(master)
openjdk/jdk/651e01b4
-
Review(master)
openjdk/jdk/27685
-
Review(master)
openjdk/jdk/28503