Parse threads waiting for traditional Java locks