Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8369527

NMT: print malloc-site when a malloc'd memory detected as corrupted

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • None
    • hotspot
    • In Review

      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.

            azafari Afshin Zafari
            azafari Afshin Zafari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: