]> granicus.if.org Git - esp-idf/commit
heap: Fix spurious heap_caps_check_integrity() errors in Comprehensive mode
authorAngus Gratton <angus@espressif.com>
Wed, 18 Oct 2017 06:54:55 +0000 (14:54 +0800)
committerAngus Gratton <gus@projectgus.com>
Wed, 18 Oct 2017 07:57:52 +0000 (15:57 +0800)
commit04188d8ec74c1f5c58e4582c2ac0c45717a40f33
treee0482cd518b4efe5869368ee3114abdbd800a497
parent2e8441df9eb046b2436981dbaaa442b312f12101
heap: Fix spurious heap_caps_check_integrity() errors in Comprehensive mode

Heap was not being locked before poisoning, so heap_caps_check_integrity()
would sometimes race with checking the poison bytes and print unnecessary
errors.

Details: https://esp32.com/viewtopic.php?f=2&t=3348&p=15732#p15732
components/heap/include/multi_heap.h
components/heap/multi_heap.c
components/heap/multi_heap_internal.h
components/heap/multi_heap_poisoning.c
docs/api-reference/system/heap_debug.rst