The power of the “ Power of Two ”HashMap Capacity in Java is always a power of twoOct 4, 2024Oct 4, 2024
Internal Working of Java String-pool & InterningIf we monitor our Java application’s memory footprint, we may observe that 25% to 30% of the memory consumed is due to String objects. In…Sep 22, 2024Sep 22, 2024
Java HotSpot JVM Object LayoutAs Java developers, we’re always curious about the memoy footprint of our java objects.Sep 2, 2024Sep 2, 2024