• 最直观的垃圾收集策略是引用计数。

    The most straightforward garbage collection strategy is reference counting.

    youdao

  • 引用计数机制为您完成内存管理任务。

    The reference counting mechanism does that for you.

    youdao

  • 要求您永远不要忘记调用引用计数函数。

    It requires that you never forget to call the reference counting functions.

    youdao

  • 引用计数也难以处理发生循环引用的数据结构。

    Reference counting also has difficulties with structures having circular references.

    youdao

  • 每一个对象都有一个关联的引用计数——对该对象的活跃引用的数量。

    Each object has an associated reference count — the number of active references to that object.

    youdao

  • 罗黙的团队的分数受到终身引用计数的不利制约,但是差异也很显著。

    Ms Romer's team is handicapped by our use of lifetime citation counts, but the difference is still striking.

    youdao

  • 另外,内置函数和第三方的库不会知道或者可以使用您的引用计数机制。

    Also, built-in functions and third-party libraries will not know about or be able to use your reference-counting mechanism.

    youdao

  • 由于引用计数是如此简单,大部分程序员都自已去实现它,而不是使用库。

    Since reference counting is so simple, most programmers implement it themselves rather than using libraries.

    youdao

  • 而在引用计数系统,这两个对象都不能被销毁,原因是引用计数永远不能为零。

    In a reference counting system, however, neither of the objects can be destroyed, because the reference count never reaches zero.

    youdao

  • 不过,当您使用某个采用引用计数的数据结构时,您必须记得运行引用计数函数。

    However, you must remember to run the reference counting functions whenever you are using a reference-counted data structure.

    youdao

  • 如果对象的引用计数是零,那么它就是垃圾(用户程序不可到达它),并可以回收。

    If an object's reference count is zero, it is garbage (unreachable from the user program) and can be recycled.

    youdao

  • 当两个对象互相引用时,就构成了循环引用,其中每个对象的引用计数值都被赋1。

    A circular reference is formed when two objects reference each other, giving each object a reference count of 1.

    youdao

  • 除了垃圾收集之外,通常还有其他两种方法用于处理别名问题:引用计数和所有权管理。

    Besides garbage collection, two other approaches are commonly used to deal with the problems of aliasing: reference counting and ownership management.

    youdao

  • 在引用计数系统,每个所引用的对象都会保留一个计数,以获悉有多少对象正在引用它。

    In a reference counting system, each object referenced maintains a count of how many objects are referencing it.

    youdao

  • 如果附件存在于多个数据库中,该附件在每个服务器分区中仅存储一次,同时增加引用计数。

    If an attachment exists in multiple databases, the attachment is stored only once per server partition, and the reference counts are increased.

    youdao

  • 一些垃圾收集算法要求编译器或者运行时环境的重要配合,如当进行指针分配时更新引用计数。

    Some garbage collection algorithms require significant cooperation from the compiler or runtime environment, such as updating reference counts whenever a pointer assignment is performed.

    youdao

  • 在同时使用了垃圾收集和引用计数的混合系统中,将会发生泄漏,因为系统不能正确识别循环引用。

    In a hybrid system, where both garbage collection and reference counting are being used, leaks occur because the system fails to identify a circular reference.

    youdao

  • 有几种垃圾收集的基本策略:引用计数、标记-清除、标记-整理 (mark-compact)和复制。

    There are several basic strategies for garbage collection: reference counting, mark-sweep, mark-compact, and copying.

    youdao

  • 这可能导致早先约束到该名字的对象的引用计数降为零,导致释放该对象的分配空间并调用其析构器,如果它有一个的话。

    This may cause the reference count for the object previously bound to the name to reach zero, causing the object to be deallocated and its destructor (if it has one) to be called.

    youdao

  • 作用域内存的每个区域都有一个引用计数;一个线程进入scoped内存的一个区域时,该引用计数将递增,当该线程离开时,引用计数则递减。

    Each area of scoped memory has a reference count; when a thread enters an area of scoped memory, the reference count is incremented, and when it leaves, the reference count is decremented.

    youdao

  • 它采用了一种延迟引用计数(Deferred Reference Counting,DRC)机制,并结合一个增量的、保守的标记/清除收集器。

    This is a Deferred Reference Counting (DRC) mechanism combined with an incremental, conservative mark/sweep collector.

    youdao

  • 它采用了一种延迟引用计数(Deferred Reference Counting,DRC)机制,并结合一个增量的、保守的标记/清除收集器。

    This is a Deferred Reference Counting (DRC) mechanism combined with an incremental, conservative mark/sweep collector.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定