Methods, apparatus, and program products for improved finalization
AssigneeOracle America, Inc.
InventorsAntonios Printezis, Peter B. Kessler
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle America, Inc.
InventorsAntonios Printezis, Peter B. Kessler
Estimating the term…
Apparatus, methods, and computer program products are disclosed that improve management of a dynamic memory area. One aspect is a method that reclaims memory referenced by a finalizable-object that has been instantiated from a class definition that incorporates at least one parent class and one or more class-extensions into a class hierarchy. The method includes marking for retention a related memory reachable from a reference field of the finalizable-object, and adding the finalizable-object to a finalization set for subsequent invocation of a non-trivial finalize-method. The method also determines whether the portion of the finalizable-object that includes the reference field to the related memory is a class-extension that has a finalizer-free characteristic and conditions the marking for retention on that determination. Thus, a portion the finalizable-object's related memory can be more quickly reclaimed from a dynamic memory area.
A computer controlled method for reclaiming memory referenced by a finalizable-object, said finalizable-object having been instantiated from a class definition incorporating at least one parent class and one or more class-extensions into a class hierarchy;
A computing apparatus configured to reclaim memory referenced by a finalizable-object, said finalizable-object having been instantiated from a class definition incorporating at least one parent class and one or more class-extensions into a class hierarchy;
A computer program product comprising:
Dependencies are inferred from the claim text.