在我们的例子里,我们全部要关心的是引用计数—全局和对象计数—和“数据库”结构。
In our sample, all we have to worry about is the reference counters-both the global and the object counter-and the "database" structures.
当作了这些修改以后,我使用调试器证实:当执行相同的测试案例时,与被删除的窗体相关联的对象计数减小。
After I made these code changes, I used the debugger to verify that the object count associated with the deleted form decreased when the same test case was executed.
而在引用计数系统,这两个对象都不能被销毁,原因是引用计数永远不能为零。
In a reference counting system, however, neither of the objects can be destroyed, because the reference count never reaches zero.
在引用计数系统,每个所引用的对象都会保留一个计数,以获悉有多少对象正在引用它。
In a reference counting system, each object referenced maintains a count of how many objects are referencing it.
如果对象的引用计数是零,那么它就是垃圾(用户程序不可到达它),并可以回收。
If an object's reference count is zero, it is garbage (unreachable from the user program) and can be recycled.
如果计数为零,该对象就会被销毁,其占用的内存也会返回给堆。
If the count becomes zero, the object is destroyed and the memory is returned to the heap.
这些额外调查对象的主要影响是,使得每个回答情形的频率计数增加了 100点。
The main effect of these additional observations is a 100-point increase in the frequency count for each response alternative.
每一个对象都有一个关联的引用计数——对该对象的活跃引用的数量。
Each object has an associated reference count — the number of active references to that object.
对象引用视图和对象细节视图也为十个泄漏最严重的对象高亮度计数,这有助于手动分析。
The object Reference Graph view and the object Details view also highlight counts for the ten objects with the greatest leakage, which AIDS in manual analysis.
总大小的差别是由于聚合数据结构级别视图使用汇总实例计数,对象/类泄漏疑点视图使用实际事例和大小计数。
The difference in cumulative size occurs because the aggregated data structure level view uses summarized instance counts and the object/class leak suspects view uses actual instance and size counts.
声明AnimateFilter、目标显示对象、重复计数、期间之后,就可以声明即将操作的确切滤镜了。
After declaring AnimateFilter, the target display object, repeat count, duration, and the exact filter to be operated on can be declared.
如果小于最大页面请求计数,则新的visit对象被保存到会话中。
If it is less than the maximum page request count, the new visit object is saved to the session.
在myMethod() 上使用synchronized关键字时,会看到与线程关联的ThreadInfo对象有一个大于0 的阻塞计数。
Using the synchronized keyword with myMethod() you will, as expected, see a blocked count greater than zero from the ThreadInfo object associated with the thread.
既然visit对象具有它需要保存到自身的全部信息,而且我们需要显示的内容被保存在本地变量中,那么它将再次测试计数。
Now that the visit object has all the information it needs saved to it, and what we need to display is saved to local variables, it tests the count again.
Linux使用pthread_condition_init调用在当前进程内创建信号对象,在其中维持一个在零与最大值之间的计数值。
Linux USES the pthread_condition_init call to create a semaphore object within the current process that maintains a count between zero and a maximum value.
引用计数(referencecounting)是对一个给定的对象当前有多少指向它的引用保留有一个计数,然后当最后一个引用被释放时自动删除该对象。
Reference counting involves keeping a count of how many references to a given object are extant, then deleting the object automatically after the last one is released.
尽管POSIX信号量是计数器信号量,但是当这个计数器被设置为1时,它们可以提供与Windows事件对象相似的功能。
POSIX semaphores are count semaphores, but when the count is set to 1 they provide similar functionality to the Windows event object.
由于关系数据和索引存储在表空间内不同的存储对象中,因此它们具有不同的读和写计数器。
Since relational data and indexes are stored in separate storage objects within a table space, they have separate read and write counters.
第一个宣称这个计数器实例对象不是空,就像它实际存在一样。
The first one asserts that the calculator instance object is not null, i.e. it exists.
该树是由文件夹图标所标识的性能对象和秒表图标标识的性能计数器组织成的。
The tree is organized by performance objects, denoted by folder ICONS, and performance counters, denoted by stop-watch ICONS.
当两个对象互相引用时,就构成了循环引用,其中每个对象的引用计数值都被赋1。
A circular reference is formed when two objects reference each other, giving each object a reference count of 1.
选择需要以图表显示的对象、计数器和实例。
Select the objects, along with the counter and instances that you want to chart.
首先给出堆中所有对象的一个总结,然后分别是各个类的统计数据。
A summary for all objects on the heap is given first, then the statistics are broken down class by class.
表1提供了一列三个性能计数器,以及它们所属的性能对象。
Table 1 provides a list of three performance counters and the performance objects under which they are categorized.
这一步骤将启用统计数据收集,这对于不同对象的概要分析非常有用。
This step enables statistics collection, which will be very useful in profiling different objects.
然后,科学家们告诉研究对象组里其他人的估计数字。
The scientists then gave their subjects access to the guesses of the other members of the group.
清单1给出一个简单的UDF,它处理对象的基线数据不存在或者发生计数器翻转的情况(这种情况不太可能出现,但是能够处理)。
Listing 1 shows a simple UDF for handling cases where baseline data for an object does not exist, or where counter rollover has occurred (an unlikely scenario, but it is handled).
清单1给出一个简单的UDF,它处理对象的基线数据不存在或者发生计数器翻转的情况(这种情况不太可能出现,但是能够处理)。
Listing 1 shows a simple UDF for handling cases where baseline data for an object does not exist, or where counter rollover has occurred (an unlikely scenario, but it is handled).
应用推荐