How HashMap works in Java?

HashMap is an implementation of Map interface, which maps keys to values. A Map cannot contain duplicate keys. We know we can put and get Key-values into HashMap. So, how does HashMap actually works in Java. This post explores a bit about the internal working. Before we jump into details, let’s see some basic terminology […]

Continue reading


How to take Heap dumps

Heap dumps provide information about the contents of JVM Heap. They are very helpful to know which object are occupying memory and the their links to the root objects. Let’s see different options to take Heap dumps Using command line option on OOME This has been discussed in detail here Using jmap jmap is a […]

Continue reading