The author has not written the bad code. From what I understand he was just debugging it.
>The dashboard was written in Java, and the source was available (under a 3-clause BSD license), so I dove in, (...)
Also, nowhere in the post he says that it is JVM's fault.