I’ve wrote something about that here. I’ve just added a post which might contain an answer. It contains a link to a really interesting video about java performance…