Snippets from a Java garbage collection manual
The New generation area is divided into three sub-areas: Eden, and two survivor spaces that are equal in size.
Many objects become garbage shortly after being allocated. These objects are said to have "infant mortality."
Attempt to cache objects for re-use, whenever possible, rather than creating new objects.
Garbage collection can occur in each generation when it fills up....Poorly sized generations cause frequent garbage collection, impacting your performance.
Many objects become garbage shortly after being allocated. These objects are said to have "infant mortality."
Attempt to cache objects for re-use, whenever possible, rather than creating new objects.
Garbage collection can occur in each generation when it fills up....Poorly sized generations cause frequent garbage collection, impacting your performance.
no subject
no subject