Currently, NMT can detect memory corruption by checking the canaries at header /footer of every malloc'd memory. The error message prints the memory block with failure and whether the footer or header part is corrupted.
In NMT detail mode, we keep track of malloc-sites for every malloc'd memory that we can show them also in the error message. This will help to locate the code that makes the memory corruption.
In NMT detail mode, we keep track of malloc-sites for every malloc'd memory that we can show them also in the error message. This will help to locate the code that makes the memory corruption.
- links to
-
Review(master) openjdk/jdk/27764