JVM
-
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 » -
Core Java
How to estimate memory consumption?
This story goes back at least a decade, when I was first approached by a PHB with a question “How…
Read More » -
Core Java
GC impact on throughput and latency
One type of the problems each and every Java application out there has to wrestle with is related to garbage…
Read More »