The Ironism


The Crypt



The Ironism

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


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 [...]


Class Loading and AOP

Note: this post is cross-posted on I have a new article up, Debugging Class Loading with AOP, in which I briefly discuss how Aspect Oriented Programming (AOP) using AspectJ can be used to debug class loading, in particular in instances where a system have multiple class loaders.It does not cover how to use the load time [...]