Archive for the ‘Featured’ Category

ClassLoaderLocal: How to avoid ClassLoader leaks on application redeploy

Monday, June 15th, 2009

var dzone_url = 'http://dow.ngra.de/2009/06/15/classloaderlocal-how-to-avoid-classloader-leaks-on-application-redeploy/';var dzone_title = 'ClassLoaderLocal: How to avoid ClassLoader leaks on application redeploy';var dzone_blurb = '“OutOfMemoryError: PermGen” is a very common message to see after a few redeploys. The reason why it’s so common is that it’s amazingly easy to leak a class loader. In this post I’ll review how we solved this [...]



The Ultimate Java Puzzler

Monday, February 16th, 2009

Why is this particular one the ultimate? Two reasons:

It’s at the very core of the Java language, not some obscure piece of API.
It melted my brain when I hit it.

UPDATE 2: If you want to test yourself before reading the post take this test. Results are not saved (it’s a paid feature apparently and I [...]



Correcting the Billion Dollar Mistake

Sunday, February 1st, 2009

Last week I visited Stockholm to speak at the JFokus 2009. The event was quite spectacular, but for me the most interesting part occurred on the evening before the conference. I was sitting at the speaker’s dinner with Rickard Öberg, Kirk Pepperdine, Simon Ritter and a couple of others. For some reason or other I [...]



Announcing Squill: Not Another ORM

Tuesday, December 9th, 2008

Remember that post about Typesafe DSLs that had a part one and no follow up? Well, meanwhile Juhan Aasaru and yours truly were joined by Michael Hunger of jexp.de and JEQUEL and together we have created the Squill project that came right out of the ideas in the paper we wrote with Rein Raudjärv. The [...]



The Performance Cutoff

Monday, November 10th, 2008

A few days ago I had a small epiphany on a simple yet important issue. I was trying to squeeze those last few percents of performance out of JavaRebel and it came to the point where I started optimizing individual hotspots method-by-method.
One of the most common ways to improve execution time of a specific method [...]