IBM User Guide for Java V7 on Windows > IBM SDK for Java > The collector and the allocator > Allocation > Large Object Area
Expansion and shrinkage of the LOA
The Garbage Collector expands or shrinks the LOA, depending on usage.
The Garbage Collector uses the following algorithm:
- If an allocation failure occurs in the SOA:
- If the current size of the LOA is greater than its initial size and if the amount of free space in the LOA is greater than 70%, reduce by 1% the percentage of space that is allocated to the LOA.
- If the current size of the LOA is equal to or less than its initial size, and if the amount of free space in the LOA is greater than 90%:
- If the current size of the LOA is greater than 1% of the heap, reduce by 1% the percentage of space that is allocated to the LOA.
- If the current size of the LOA is 1% or less of the heap, reduce by 0.1%, the percentage of space that is allocated to the LOA.
- If an allocation failure occurs on the LOA:
- If the size of the allocation request is greater than 20% of the current size of the LOA, increase the LOA by 1%.
- If the current size of the LOA is less than its initial size, and if the amount of free space in the LOA is less than 50%, increase the LOA by 1%.
- If the current size of the LOA is equal to or greater than its initial size, and if the amount of free space in the LOA is less than 30%, increase the LOA by 1%.
Parent: Large Object Area
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.