‘Top 5 Java Performance Problems!’ Webinar

In February, we held a webinar titled "Top 5 Java Performance Problems," led by architect Ram Lakshmanan. Key issues discussed included high CPU utilization, memory leaks, slow response times, thread contention, deadlocks, and garbage collection pauses. Attendees engaged in a Q&A session, and future webinars are planned for ongoing learning.

How Does String Deduplication Work in Java?

This article discusses improving application performance by optimizing String memory usage in Java. It explains String allocation methods, the benefits of String.intern(), and introduces String deduplication during garbage collection. The analysis highlights trade-offs between space and time efficiency, urging careful consideration before implementing optimizations based on specific application needs and metrics.

Optimizing the Capacity of a HashMap

This article discusses how to optimize memory allocation in HashMaps by understanding the differences between allocation and mapping capacity. It emphasizes the importance of choosing the correct initial capacity, ideally a power of two, to mitigate space overhead and prevent performance degradation. Several formulas for calculating proper capacity are reviewed.

Up ↑