IBM User Guide for Java V7 on Windows > IBM SDK for Java > The collector and the allocator

Garbage collection summary


Overview

The Garbage Collector...

  1. Collects some, but not necessarily all, unreachable objects.
  2. Will not collect reachable objects
  3. Stops all threads when running.
  4. Is triggered when an allocation failure occurs, but will otherwise not run itself.
  5. Accepts manual calls unless the -Xdisableexplicitgc is specified.

Finalizers...

  1. Are not run in any particular sequence.
  2. Are not run at any particular time.
  3. Are not guaranteed to run at all.
  4. 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...


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.