How To Test Against Deadlocks?

I read an interesting blog entry at Google, where they talk about Thread Weaver (Apache license), which can be used to test against synchronization issues.