Saving 30% Heap Without Changing Code: String Deduplication vs. Interning

Let’s imagine you have designed an application that processes thousands of JSON…

Let’s imagine you have designed an application that processes thousands of JSON…

It is always important to be mindful of performance when writing code.…
![Stop Storing Flat Data Like Objects: Why int[] Beats Integer[] in Java primitive vs object arrays](https://heappulse.com/wp-content/uploads/2026/03/primitive_vs_object_arrays-768x337.png)
Arrays are one of the most popular data structures in Java, and…

BigDecimal is a life saver when it comes to financial applications. If…

Java provides us with very strong concurrency tools, and they are very…

I am sure you have written this in your Java code: List<Type>…

It’s July 4th, 1997 and NASA’s Mars Pathfinder lander just landed on…

We have discussed extensively about false sharing on this blog. In our…

I am sure if you are reading this blog post, you have…