963dfc5a3c91d7085f5455bc1b44d83f4e05320a
记录区此前与 detection 解耦、每次 alloc 都写一条,_det_count 对永不 reset 的 PermPool 无上限增长;free 归还时按 _det_count 线性查找记录并置空闲位,于是每次 free 都是 O(历史分配数)。改为 detection==0 时不分配记录区也不记录/不回填,free 变 O(1);OOM 报告的块序分布走 chk_stack 不受影响。
Description
GVSDS(TM) Viper SE Runtime Environment and Library (VRTE)
15 MiB
0 Stars
1 Watchers
0 Forks
Languages
C++
76.8%
C
22%
CMake
1.2%