IBM User Guide for Java V7 on Windows > IBM SDK for Java > The collector and the allocator
Garbage collection summary
Overview
The Garbage Collector...
- Collects some, but not necessarily all, unreachable objects.
- Will not collect reachable objects
- Stops all threads when running.
- Is triggered when an allocation failure occurs, but will otherwise not run itself.
- Accepts manual calls unless the -Xdisableexplicitgc is specified.
Finalizers...
- Are not run in any particular sequence.
- Are not run at any particular time.
- Are not guaranteed to run at all.
- Run asynchronously to the Garbage Collector.
-Xdisableexplicitgc
Manual calls to the Garbage Collector, such as through System.gc(), are interpreted as a request for full garbage collection scan unless either...
- A garbage collection cycle is already running
- Explicit garbage collection is disabled by specifying -Xdisableexplicitgc
Parent: The collector and the allocator
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.