The Ironism


The Crypt



The Ironism

The lair of Lars J. Nilsson. Contains random musings on beer, writing and this thing we call life.

April, 2009 2

A Java Concurrency Bug, and How We Solved It

Note: this post is cross-posted on Everyone agrees that good debugging is critical. But it is not entirely trivial when it comes to multi-threaded applications. So here’s the story how I tracked down a nasty bug in the Java5 ReentrantReadWriteLock. Update 15/4: To be a bit clearer, the Java bug in question is on 1) Java [...]