The percentages for each method represent how much of the total lock contention observed occurred in that method. For example, if there was a single instance of lock contention during a run, that method would show 100 percent. Therefore, methods that show a high percentage of lock contention may not be a problem, unless you see a significant amount lock contention in your application.
Lock contention can be detected either in synchronized methods, or in methods that contain synchronized blocks.
Guidelines
•Lock contention in a running application does not necessarily indicate a problem.
•If you suspect a lock contention problem with your application, you should look more closely at the
•The Thread Histogram can also help you determine if there is significant lock contention. Other
Details
This metric uses sampling to determine the level of lock contention. Therefore, this display shows percentages of time wasted over the sampling period, not actual time wasted in lock contention.
The reported data is cumulative over the lifetime of the session.FigureUsing Monitoring Displays 133