In this article, I’ll focus on the Runtime Data Areas described in the JVM specifications. Those areas are designed to store the data used by a program or by the JVM itself. I’ll first present an overview of the JVM then what bytecode is and finally the different data areas.
A few months ago, I was confronted at work with the following use case: “Analyse the data of some selected clients”. It seems easy, but not if there are billions of data and there can be millions of clients to analyse and it needs to run as fast as possible!
In this post I’ll describe the solution I found but most importantly, how I came to this solution.