Monitor contention views

## Monitor contention views |

| Monitor contention views show a table where every row corresponds to a waiting or blocking event on a monitor. There are two monitor contention views: current monitor usage view The current monitor usage view shows monitors that are currently involved in a waiting or blocking operation. monitor usage history view The monitor usage history view shows the sequence of waiting and blocking operations on monitors above the configured thresholds. Note that these views are unavailable if monitor contention views are disabled.

| The monitor contention views share the following 6 columns: sortable. Time The start time of the event. Duration The duration of the event. The event may still be in progress. Type The type of the event, one of "waiting" or "blocked". Monitor ID The ID of the monitor for identifying multiple events on a particular monitor instance. Monitor class The class of the monitor. If no Java object is associated with this monitor `[raw monitor]` is displayed. Waiting thread The thread that is or was waiting during the event.

| If you profile with Java <=1.4 (JVMPI), the monitor class names can only be displayed if they are recorded objects. You can enable "Record allocations on startup" in the profiling settings template dialog to record all objects.