AbbaDetector

Utility to detect AB-BA deadlocks.

Methods
static Object begin(Object o)
This method is called just before or just after an object is synchronized.
static Object begin(Object o)
This method is called just before or just after an object is synchronized.
Parameters:
o - the object, or null for the current class
Returns:
the object that was passed