第八章:数据结构 供多线程使用的数据结构应该采用引用计数(reference counts)。在内核中,垃圾回收(garbage collection)是不存在的(内核之外的垃圾回收效率不高),这意味着你必须使用引用计数。
基于19个网页-相关网页
So atomic reference counts fix that. They work because when you move from object a to object b, you can do this.
原子引用计数修正了这一点,当你从对象A到对象B,你会这样做。
If an attachment exists in multiple databases, the attachment is stored only once per server partition, and the reference counts are increased.
如果附件存在于多个数据库中,该附件在每个服务器分区中仅存储一次,同时增加引用计数。
Some garbage collection algorithms require significant cooperation from the compiler or runtime environment, such as updating reference counts whenever a pointer assignment is performed.
一些垃圾收集算法要求编译器或者运行时环境的重要配合,如当进行指针分配时更新引用计数。
应用推荐