mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 04:25:32 +00:00
feat(heap): update hash map to use singly linked list
Previously, the hash map was a doubly linked list but was never using the characteristics of it. This commit switches the hash map to a singly linked list instead This commit also fixes memory leak in heap trace tests by setting hashmap size to 10 for the tests (instead of the default value of 250) See https://github.com/espressif/esp-idf/issues/11173
This commit is contained in:
@@ -3,3 +3,4 @@ CONFIG_SPIRAM=y
|
||||
CONFIG_HEAP_TRACING_STANDALONE=y
|
||||
CONFIG_HEAP_TRACE_HASH_MAP=y
|
||||
CONFIG_HEAP_TRACE_HASH_MAP_IN_EXT_RAM=y
|
||||
CONFIG_HEAP_TRACE_HASH_MAP_SIZE=10
|
||||
|
Reference in New Issue
Block a user