最直观的垃圾收集策略是引用计数。
The most straightforward garbage collection strategy is reference counting.
引用计数机制为您完成内存管理任务。
要求您永远不要忘记调用引用计数函数。
It requires that you never forget to call the reference counting functions.
引用计数也难以处理发生循环引用的数据结构。
Reference counting also has difficulties with structures having circular references.
减少此计划程序的引用计数。
从集合中移除一个对象的引用计数的一滴。
Removing an object from a collection drops its reference count by one.
增加对象的引用计数。
这是类是引用计数的,利用了我写的许多全局变量。
The class is ref counted, and makes use of many globals that I wrote myself.
每一个对象都有一个关联的引用计数——对该对象的活跃引用的数量。
Each object has an associated reference count — the number of active references to that object.
罗黙的团队的分数受到终身引用计数的不利制约,但是差异也很显著。
Ms Romer's team is handicapped by our use of lifetime citation counts, but the difference is still striking.
另外,内置函数和第三方的库不会知道或者可以使用您的引用计数机制。
Also, built-in functions and third-party libraries will not know about or be able to use your reference-counting mechanism.
由于引用计数是如此简单,大部分程序员都自已去实现它,而不是使用库。
Since reference counting is so simple, most programmers implement it themselves rather than using libraries.
不使用引用计数为对象,其中可以得到复杂和容易出现的错误。
Doesn't use reference counting for objects which can get complex and error prone.
原子引用计数修正了这一点,当你从对象A到对象B,你会这样做。
So atomic reference counts fix that. They work because when you move from object a to object b, you can do this.
而在引用计数系统,这两个对象都不能被销毁,原因是引用计数永远不能为零。
In a reference counting system, however, neither of the objects can be destroyed, because the reference count never reaches zero.
不过,当您使用某个采用引用计数的数据结构时,您必须记得运行引用计数函数。
However, you must remember to run the reference counting functions whenever you are using a reference-counted data structure.
如果对象的引用计数是零,那么它就是垃圾(用户程序不可到达它),并可以回收。
If an object's reference count is zero, it is garbage (unreachable from the user program) and can be recycled.
当两个对象互相引用时,就构成了循环引用,其中每个对象的引用计数值都被赋1。
A circular reference is formed when two objects reference each other, giving each object a reference count of 1.
除了垃圾收集之外,通常还有其他两种方法用于处理别名问题:引用计数和所有权管理。
Besides garbage collection, two other approaches are commonly used to deal with the problems of aliasing: reference counting and ownership management.
在引用计数系统,每个所引用的对象都会保留一个计数,以获悉有多少对象正在引用它。
In a reference counting system, each object referenced maintains a count of how many objects are referencing it.
如果附件存在于多个数据库中,该附件在每个服务器分区中仅存储一次,同时增加引用计数。
If an attachment exists in multiple databases, the attachment is stored only once per server partition, and the reference counts are increased.
如果附件存在于多个数据库中,该附件在每个服务器分区中仅存储一次,同时增加引用计数。
If an attachment exists in multiple databases, the attachment is stored only once per server partition, and the reference counts are increased.
应用推荐