Python GC主要使用引用计数(reference counting)来跟踪和回收垃圾。 在引用计数的基础上,通过“标记-清除”(mark and sweep)解决容器对象可能产生的循环引用问题,通过“分代回收”(generation collection)以空间换时间的方法提高垃圾回收效率。 ...
分类:
编程语言 时间:
2017-06-16 14:22:11
阅读次数:
255
file:///D:/BaiduNetdiskDownload/adt-bundle-windows-x86_64_20140101/adt-bundle-windows-x86_64_20140101/sdk/docs/reference/android/database/sqlite/SQLit ...
分类:
数据库 时间:
2017-06-16 10:09:02
阅读次数:
362
解决cocos2d-x中编译出现的一个小问题 对于cocos2d-x 2.×中编译中,若头文件里引入了#include "cocos-ext.h",在进行C++编译的时候会遇到例如以下错误: undefined reference to symbol 'pthread_create@@GLIBC_2 ...
分类:
系统相关 时间:
2017-06-15 21:44:15
阅读次数:
303
为什么要了解GC 我们都知道Java开发者在开发过程中是不需要关心对象的回收的,因为Java虚拟机的原因,它会自动回收那些失效的垃圾对象。那我们为什么还要去了解GC和内存分配呢? 答案很简单:当我们需要排查各种内存溢出、内存泄漏时,当垃圾收集器成为系统达到更高并发量的瓶颈时,我们就需要对这些"自动化 ...
分类:
编程语言 时间:
2017-06-15 20:39:44
阅读次数:
263
HDMI初识 1.阅读文档xapp1287 (1) KC705 HDMI Reference Design Block Diagram (2) KC705 HDMI Reference Design Clock & Datapath Diagram (3)HDMI Reference Design ...
分类:
其他好文 时间:
2017-06-15 16:21:41
阅读次数:
541
参考文档: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#installation-for-nginx nginx不支持动态加载模块,所以需要重新编译,将modsecurity和nginx整合。 一: 软件准备: Mo ...
分类:
其他好文 时间:
2017-06-14 22:27:27
阅读次数:
709
1,Reference designs use the PMIC to handle VBUS pin detection; the SMB hardware detects the charger type.?2,After the SMB358 completes detection, the ...
分类:
其他好文 时间:
2017-06-14 13:05:41
阅读次数:
389
1. please keep WCF service running 2. and two ways to achive this a. add Service Reference (will not introduce this since there're so many resources o ...
分类:
其他好文 时间:
2017-06-14 02:23:57
阅读次数:
328
1. Create a windows service project 2. Add Reference to the assembly which contains the contract and its implementation. 3. Remove the Service1.cs, ad ...
线程安全的定义常常让人迷惑,搜索引擎会发现无数定义,比如: 而且还有很多类似的定义 你是否认为这种定义实际上没有任何意义而且还让人更加迷惑?虽然这些定义没错,但事实是他们没有提供任何实际的帮助或观点。我们如何区分线程安全类和不安全类?我们所谓的“安全”是什么意思? 线程安全的正确性是什么? 线程安全 ...
分类:
编程语言 时间:
2017-06-13 22:41:27
阅读次数:
178