12.2. Performance Issues
There are a few aspects of Java and its execution environment that can cause severe performance problems if not recognized and corrected. In particular, too much time spent in automatic garbage collections of unused memory, synchronization issues, and the creation of large numbers of threads can cause serious performance problems in Java.
12.2.1. Garbage Collection Issues
The automatic garbage collection provided by Java is convenient, but it provides an environment that can have adverse impacts from a performance perspective. Garbage collection requires that at some point the unused objects in the Java heap need to be removed to find free space for newly created objects. As the number of live objects in the Java heap ...
Get HP-UX 11i Tuning and Performance now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.