• 最后认识激活省略似乎对象数据大小关系

    Finally I came to recognize that there seems to be some relation between the enabling of lock elision and the data size of the locked object.

    youdao

  • 粗化就是使用同一对象相邻同步合并过程

    Lock coarsening is the process of merging adjacent synchronized blocks that use the same lock object.

    youdao

  • 对象工作原理通过同步方法严格实现一样

    Lock objects work very much like the implicit locks used by synchronized code.

    youdao

  • 译文:对象同步代码依赖一种简单

    Synchronized code relies on a simple kind of reentrant lock.

    youdao

  • 严格实现的一样,线程只能拥有一个对象

    As with implicit locks, only one thread can own a lock object at a time.

    youdao

  • 对象严格最大优势他们能够获得一个返回

    The biggest advantage of lock objects over implicit locks is their ability to back out of an attempt to acquire a lock.

    youdao

  • 例如如果对象类别Object搜索代码引用可能容易。

    For example, if the lock object is of class object, it may not be easy to search the code for references to it.

    youdao

  • 多个控制线程可以同时在队列添加数据删除数据,所以需要互斥对象管理同步

    Multiple threads of control can simultaneously try to push data to the queue or remove data, so you need a mutex object to manage the synchronization.

    youdao

  • 如果同一个对象上,自刚刚成功过,并且持有线程正在运行中,那么自旋很有可能再次成功

    If spinning succeeded on that same lock object in the recent history and the thread holding the lock is running, then spinning is likely to succeed again.

    youdao

  • 猜测由于实现比较保守,根据不同条件(比如对象数据大小其他OS特定特性)及早地关掉了它。

    My guess is that it is implemented very conservatively and disabled early based on various conditions like lock object data size and OS specific features.

    youdao

  • 一方面,我们希望分配太多对象特别是在ConcurrentDictionary最后存储很少项目的时候。

    On the other hand, we don't want to allocate too many lock objects, especially if the ConcurrentDictionary only ends up storing only a small number of items.

    youdao

  • 模式对象类型定义sqlmon . h包含文件中,文件有助于破解函数返回数值当量(numerical equivalent)。

    Lock modes and lock object types are defined in the sqlmon.h include file, which will help you to decipher the numerical equivalents that the table function returns.

    youdao

  • IDS允许应用程序开发人员放在不同对象上,数据库以及索引

    IDS allows application developers to place locks on different objects, like databases, tables, pages or rows, and indexes.

    youdao

  • 同步代码执行之前需要客户对象相关

    This synchronized code block acquires the lock associated with the customer class object before it executes.

    youdao

  • 对象是从这个高速缓存末端分配不必获取因此效率非常高。

    A new object is allocated from the end of this cache without the need to grab the heap lock, so it is very efficient.

    youdao

  • 就像规范要求的那样,优先线程(优先级p3)获取对象一个高优先级(优先级p1)的线程夺取执行权。

    A low priority thread (at priority P3) acquires the lock on an object and is pre-empted by a higher priority thread (at priority P1), as the specification mandates.

    youdao

  • DB 2使用数据库对象来确保事务一致性

    DB2 ensures transaction consistency using locks on database objects.

    youdao

  • 本文中将学习如何使用Boostipc实现共享内存对象消息队列同步文件

    In this article, you learn how to use the Boost IPC library to implement Shared memory objects, message queues, and synchronized file locking.

    youdao

  • 到了Version8,load工具本身放置因而可以运行数据加载操作的同时,对相同空间中的其他对象进行并发访问

    As of Version 8, the load utility places locks on the table itself, and you can enjoy concurrent access to other table objects in the same table Spaces while a data load operation is running.

    youdao

  • 进入关键部分之前,调用ReentrantLock对象lock方法尝试获得

    Before entering the critical section, the lock method of the ReentrantLock object is invoked to try and obtain the lock.

    youdao

  • 如果被占有,调用Dequeue FromPool方法中检索对象

    If the lock is held, the DequeueFromPool method is called to retrieve an object from the pool.

    youdao

  • 这样分组能够帮助程序员发现一个ConcurrentHashMap对象发生严重的竞争

    This grouping of locks helps programmers identity which ConcurrentHashMap object has the most serious JUC lock contentions.

    youdao

  • wait释放对象线程等待

    Object.wait releases the object lock and the thread waits.

    youdao

  • 如果能够做到一点,线程代码非常高效的,并且不会占用宝贵的互斥对象

    If you can do this, your threaded code will be really efficient and it won't tie up valuable mutex locks.

    youdao

  • 如果互斥对象当前处于状态,那么获得并且函数返回

    If the mutex is currently unlocked you'll get the lock, and this function will return zero.

    youdao

  • 通过保持较浅层次结构可以定最少量对象能够影响大量的需要调整优先级线程

    By keeping lock hierarchies shallow, which translates to locking as few objects as possible, you can affect the maximum number of threads that need to be priority adjusted.

    youdao

  • 发生这种情况时,没有获得线程置于对象用者一个逻辑队列中。

    When this happens, the thread failing to acquire the lock is put into a logical queue of lock contenders for the object.

    youdao

  • P1线程需要同一个对象但是P3线程释放之前,P1无法得到

    The P1 thread then needs the same object but cannot acquire the lock until the P3 thread has released it.

    youdao

  • 释放以后,系统争用者最高优先队列前端选择线程,以便试图对象

    When a lock is released, the system chooses the thread from the front of the highest-priority queue of contenders to try to lock the object.

    youdao

  • 释放以后,系统争用者最高优先队列前端选择线程,以便试图对象

    When a lock is released, the system chooses the thread from the front of the highest-priority queue of contenders to try to lock the object.

    youdao

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

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

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