Closed lailongwei closed 1 year ago
提供更完善的检测机制,包括以下三点:
Alloc
Release
referencable
LLBC_CFG_CORE_OBJECT_POOL_DEBUG
Config.h
提供更完善的检测机制,包括以下三点:
Alloc
阶段进行滞后式的检测, 主要是基于性能考虑, 当前调整为Alloc
+Release
阶段统一都进行Double Check,以确保:Alloc
阶段被动被污染的情况可被检测(尽可能)Release
阶段主动被污染的情况可被检测referencable
标记检测, 包括mismatch检测LLBC_CFG_CORE_OBJECT_POOL_DEBUG
宏设置到1, 在Config.h
文件中)