JVM
-
Core Java

OutOfMemoryError on overprovisioned heap
Why am I getting the OutOfMemoryError when allocating a data structure that should happily fit within the heap I have…
Read More » -
Core Java

ClassNotFoundException: is it slowing down your JVM?
Most Java developers are familiar with the infamous and very common java.lang.ClassNotFoundException. While the sources of this problem are generally…
Read More » -
Core Java

Difference between WeakReference vs SoftReference vs PhantomReference vs Strong reference in Java
WeakReference and SoftReference were added into Java API from long time but not every Java programmer is familiar with it.…
Read More » -
Core Java

Migrating from javaagent to JVMTI: our experience
When you need to gather data from within the JVM, you will find yourself working dangerously close to the Java…
Read More » -
Core Java

An open source JVM Sampling Profiler
It’s a well known deficiency of most existing sampling Java profilers that their collection of stack traces has to happen…
Read More » -
Core Java

Allocating memory for the JVM: a case study
This post is about a recent performance tuning exercise. As always, these start with vague statements about symptoms. This time…
Read More » -
Core Java

OutOfMemoryError: solution antipatterns
Throughout those years we have kept a close eye on the problems packaged in different flavours of OutOfMemoryError message. Daily…
Read More » -
Core Java

Hardware Transactional Memory in Java, or why synchronized will be cool again
Overview Hardware Transaction Memory has the potential to allow multiple threads to speculatively access the same data structure at the…
Read More » -
Core Java

sun.misc.Unsafe and off heap memory
The class sun.misc.Unsafe allows you to many of the things you shouldn’t be able to do in Java, but are…
Read More »
