Inventors:
Lawrence R. Rau - Dublin NH, US
Craig F. Newell - Lowell MA, US
Frank E. Barrus - New Ipswich NH, US
Assignee:
SavaJe Technologies, Inc. - Chelmsford MA
International Classification:
G06F 17/30
US Classification:
707206, 707102, 707103 R, 707205, 714 35, 717154
Abstract:
A garbage collector, from time to time, and within a single cycle, determines objects that are eligible to have their associated memory freed; executes high-priority finalizers associated with such eligible objects as are determined; and after execution of a high-priority finalizer, deallocates the memory of the associated object. The garbage collector queues references to eligible objects that have non-high-priority finalizers in a list. After garbage collection is completed, a finalizer thread runs the queued non-high-priority finalizers and marks the associated objects as ready for deallocation. The garbage collector, during a subsequent cycle, then deallocates the memory associated with marked objects.