- 博客(4)
- 资源 (5)
- 收藏
- 关注
原创 使用tcmalloc,它的central freelist很多,一直没有释放
在项目中,使用到了tcmalloc作为自己的内存分配库,但是使用了一段时间后,发现central freelist中的内存一直没有释放给系统。最后检查了一下,发现原因是:tcmalloc事先后分配一大块内存,减少分配内存的系统调用,每次会根据需要分配一个或多个page;central freelist是用span管理的,一个span是多个page,thread cach
2016-01-13 15:25:12 2886 4
原创 C++中的 virtual destructor
在项目上碰到一个内存泄露,最后调查下来原因是:使用父类的指针指向子类,但是父类的析构函数没有virtual,导致在free这个指针时,子类的析构函数没有掉到,而从内存一直增长。具体可参见:http://www.programmerinterview.com/index.php/c-cplusplus/virtual-destructors/
2016-01-13 15:12:33 2027
转载 C++中的虚函数表
C++中的虚函数表是用来实现父类调用子类方法的一种实现机制。就是在有父子关系的类中各创建一张虚函数表,而不是每个实例创建一个;每个实例中一个虚函数的指针会指向虚函数表,而从完成调用。具体可参见:http://www.learncpp.com/cpp-tutorial/125-the-virtual-table/
2016-01-13 15:08:52 304
转载 如何让Excel 的Pivot表使用多张表的内容
1. Pivot是不支持多张表的内容做分析的,但是我们可以通过Excel的"Microsoft Query"导入多张表的数据,通过SQL将多张表中需要的数据生成一张表就可以了。2. "Microsoft Query"也可以导入Excel中的表格,但是事先要在Excel中创建自己的表格(选中需要的数据,右键选择Name a Range,起一个名字就好了)具体的可参见:http://www
2016-01-13 15:04:28 3705
Soft-Test.zip
2021-01-20
SEMI E37-0298 HIGH-SPEED SECS MESSAGE SERVICES (HSMS) GENERIC.pdf
2021-01-20
RF engineering basic concepts the Smith chart.pdf
2020-05-05
Waveform Generation Language from Fluence Technology, Inc
2020-04-29
Standard Test Interface Language (STIL) for Digital Test Vectors原版
2020-04-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人