

Java: ChronicleMap, Part 1: Go Off-Heap
source link: https://www.tuicool.com/articles/IZbAfqa
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Filling up a HashMap
with millions of objects will quickly lead to problems such as inefficient memory usage, low performance, and garbage collection issues. Learn how to use off-heap CronicleMap
that can contain billions of objects with little or no heap impact.
The built-in Map
implementations, such as HashMap
and ConcurrentHashMap
, are excellent tools when we want to work with small to medium-sized data sets. However, as the amount of data grows, these Map
implementations are deteriorating and start to exhibit a number of unpleasant drawbacks as shown in this first article in an article series about open-sourced ChronicleMap
.
- 1. Java Concurrency: AtomicInteger
- 2. Java BufferedReader Is CPU Bound
- 3. Java SimpleDateFormat Is Not Simple
- 4. Running Single-file Programs Without Compiling in Java 11
- 5. Proposal to define relationship between Jakarta EE and MicroPro..
- 6. Introducing Javalin: a Lightweight Web Framework for Java and K..
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK