Run the command shown below to get the Juc profiling result.
运行如下所示的命令来得到结果
When using a JUC lock, a thread will "stop" execution in the following two cases.
当在程序中使用JUC锁的时候,线程会在下面两种情况下“停止”执行。
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锁竞争的详细信息。
This grouping of locks helps programmers identity which ConcurrentHashMap object has the most serious JUC lock contentions.
这样的对锁的分组能够帮助程序员发现哪一个ConcurrentHashMap对象发生了最严重的锁竞争。
This absence of a juc lock profiling tool is the motivation behind the development of our lock tool, jucprofiler, as a part of Multicore SDK.
缺乏对JUC锁的剖析工具正是我们开发这个锁工具,jucprofiler (MulticoreSDK的一部分)的动机。
Usage of the JUC package is becoming more and more popular as more applications are either developed or fine tuned to run better on multicore systems.
JUC包使用得越来越普遍,因为更多的应用程序需要为了多核系统而开发或仔细地调优。
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锁竞争。
When a thread a tries to acquire a JUC lock, while this lock has been acquired by another thread, then thread a has to "stop" its execution and wait until this lock is released or times out.
当线程a试图去获得一个JUC锁,但这个锁却已经被另外一个线程获得,那么线程A不得不“停止”,直到这个锁被释放或者超时。
When a thread a tries to acquire a JUC lock, while this lock has been acquired by another thread, then thread a has to "stop" its execution and wait until this lock is released or times out.
当线程a试图去获得一个JUC锁,但这个锁却已经被另外一个线程获得,那么线程A不得不“停止”,直到这个锁被释放或者超时。
应用推荐