Having a single thread pool could cause significant lock contention.
使用单独一个线程池可能会导致严重的锁争用。
The second lane is thread, indicating in which thread lock contention occurs.
第二列是线程,表明锁竞争发生哪个线程。
The result can help users find out the JUC lock contention bottleneck in the program.
这些结果有助于用户发现JUC锁竞争造成的程序瓶颈。
After the "LEGEND" section, the profiling result reports details of each JUC lock contention.
在“LEGEND”段之后,结果给出了每一个JUC锁竞争的详细信息。
Lock contention occurs when a lock is currently in use and another thread tries to acquire it.
当一个锁当前正在使用,而另一个线程试图获取它,那么就会出现锁争用。
When lock contention occurs, priority boosting and synchronization-queue management is done in kernel space.
当发生锁争用时,在内核空间中进行优先级提高和同步队列管理。
It's particularly useful for detecting symptoms of deadlocks, lock contention, memory leaks, and cycling threads.
这种特性特别适用于检测死锁、锁竞争、内存泄漏和循环线程。
Lock contention occurs when a lock is currently in use and another thread attempts to acquire it by another thread.
如果一个锁正在使用中,而另一个线程尝试获取它,这时会发生锁争用。
The DB2 catalog has been restructured to reduce lock contention by removing all links in the catalog and directory.
通过移除系统目录(catalog)和文件目录(directory)中的所有链接,DB2 系统目录进行了重构,以便减少锁争用。
A simple example application will help you understand how you can use the JLA to help find areas of lock contention.
一个简单的应用程序示例将帮助您了解如何使用JLA帮助查找锁争用的区域。
Realize that issues such as lock contention and deadlocks might affect the performance and behavior of the library.
请注意,锁争用和死锁等问题会影响库的性能和行为。
This can result in skyrocketing lock contention between transactions, which can severely limit transactional throughput.
这可能导致暴涨的锁争之间的交易,从而严重限制的事务吞吐量。
Even with a few failed CAS operations, this approach is still likely to be faster than being rescheduled because of lock contention.
即使有少量失败的CAS操作,这种方法仍然会比由于锁争用造成的重新调度快得多。
This allows the DBA to determine the cause of the lock contention so he or she can take measures to avoid such situations in the future.
这使DBA能够确定发生锁定争用的原因,从而设法在以后避免发生这类情形。
In the result snippet below, for ConcurrentHashMap “CHM@8” lock contention happens in two segment locks (Lock [AQS@135]” and “Lock [AQS@146]).
在下边的结果片段中,对于ConcurrentHashMap “CHM@8” ,锁竞争出现在两个用来保护片段的锁上 “Lock [AQS@135]”and “Lock [AQS@146]”。
These details help programmers to locate the lock contention in the program and clearly understand which segments of ConcurrentHashMap contend most.
这些细节信息可以很好地帮助程序员来定位程序中的锁竞争,并且清楚地理解ConcurrentHashMap中哪个片段竞争最严重。
Within Figure 4, the database service is a "backbone" and is experiencing some sort of latency, such as lock contention in the database or network issues.
在图4中,数据库服务是“中枢”,其中存在某种类型的延迟,如数据库中的锁定争用或网络问题。
In the scenario just described, the low-priority thread runs at high priority when lock contention occurs until the point in time that it releases the lock.
在刚刚描述的场景中,发生锁争用时低优先级的线程以高优先级运行,直至线程释放锁。
The idea behind priority inheritance is that at the point of lock contention, the lock holder's priority is boosted to that of the thread wishing to acquire the lock.
优先级继承背后的思想是锁争用,锁持有者的优先级被提高到希望获取锁的线程的优先级。
It makes recommendations on GC usage, identifies hot methods, highlights areas of lock contention, and provides information on the environment the application is running in.
它提供关于GC使用的建议、识别热方法、突出显示锁争用区域,提供关于应用程序的运行环境的信息。
Designed to perform lock analysis on a live application in order to highlight threads with lock contention that could affect performance. This tool consists of two packages.
旨在对动态应用程序执行锁分析,以便突出具有可能影响性能的锁争用的线程。
This change amortizes the cost of the lock acquisition over many packets and reduces lock contention significantly, allowing us to scale memcached to 8 threads on an 8-core system.
这个更正将请求锁的开销平摊到了多个数据包,显著地减少了锁争 用,这样我们就能在8核系统上将memcached伸展至8线程。
Before the "LEGEND" section, the profiling result report first summarizes all JUC lock contentions in the program, in descending order by lock contention count, then contention time.
在“LEGEND”段之前,结果报告首先,按照锁竞争次数和时间的降序,总结了程序中全部的JUC锁竞争。
Because of this synchronization, when using core JLS services, you must exercise care to avoid the problem of NHRT preemption by GC (see Lock contention between NHRTs and RT threads).
由于这种同步,在使用核心JLS服务时,必须谨慎执行以避免GC抢占NHRT的问题(参见NHRT和rt线程之间的锁争用)。
Thus, the lock contention is significantly reduced in your database, and your application server has shorter and more discrete units of work, which reduces CPU and JVM memory overhead.
因此,您数据库中的锁争用将明显降低,并且您的应用程序服务器具有更短且更分散的工作单元,这将降低CPU和JVM的内存开销。
The cost is that the duration for which the lock is held may be lengthened, increasing the amount of time other threads might be locked out and also increasing the probability of lock contention.
代价则是持有锁的时间可能会变长,从而延长了其他线程被锁在外面的时间,也会增大锁争用的可能性。
The memory manager allocates memory to threads in chunks to minimize contention on the heap lock.
内存管理器以块的形式将内存分配给线程,以最小化堆锁定争用。
We found significant contention on the lock that protects each network device's transmit queue.
最后在保护每个网络设备的传送队列的锁上发现了严重的争用。
A single arrow indicates a thread contention: One thread is waiting for another thread to release a lock.
一支单独的箭头指出一个线程竞争:一个线程正在等候另一个线程释放一个锁。
This will help to avoid the chance for resource contention that can severely degrade performance, or lead to a record dead lock condition.
这将有助于避免出现资源争用,资源争用可能会严重降低性能,或者会导致出现记录死锁情况。
应用推荐