Check out the new USENIX Web site. next up previous
Next: Deadlocks Up: Monitor Profiling Previous: Monitor Profiling

Monitor Contention

Monitor contention is the primary cause of lack of scalability in multi-processor systems. Monitor contention is typically caused by multiple threads holding global locks too frequently or too long. To detect these scenarios, the profiler may enable the following three types of event notifications:

In all these three cases, overhead of issuing the event is negligible compared to the performance impact of the blocked monitor operation. The profiler agent can obtain the stack trace of the current thread and thus attribute the monitor contention events to the parts of the program responsible for issuing the monitor operations.


next up previous
Next: Deadlocks Up: Monitor Profiling Previous: Monitor Profiling
Sheng Liang
1998-12-19