Performance tuning is a key component of application behavior with Java, and a multitude of collection techniques exist. They all involve different trade offs, balancing requirements for responsiveness, throughput, and available memory across varying scale levels.
A drawback with the majority of performance tuning options is the requirement for long application pauses, a result of the inevitable need to compact the heap to free up space. Different strategies are used to delay this, but compaction cannot be avoided with all commercially available collectors except Azul C4, which deploys a strategy that avoids pauses altogether.
By developing a comprehensive understanding of performance tuning, developers can improve application performance, scalability and reliability and make better choices about garbage collector options, which can result in big enhancements in application performance.
For more information about performance tuning and garbage collection options, download this white paper.