Blog Archives

Understanding Java Buffer Pool Memory Space


The buffer pool space is located outside of the garbage collector-managed memory. It’s a way to allocate native off-heap memory.  What’s the benefit of using buffer pools? To answer this question, let’s firstly learn what byte buffers are. Byte Buffer Non-Direct Buffer java.nio package comes with the Bytebuffer class. It allows us to allocate both […]

The Importance of Java Application Profiling – Comparing Different Techniques


If you ever had some serious issues with the performance of your Java application, most probably you know how valuable thread profiling can be. But do you know which profiler you should use? There are two basic techniques used by profilers – sampling and instrumentation. Sampling Profilers A sampling profiler involves periodically asking the JVM […]