发明名称 Methods, apparatus, and program products for improved finalization
摘要 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.
申请公布号 US7890711(B2) 申请公布日期 2011.02.15
申请号 US20070787933 申请日期 2007.04.18
申请人 ORACLE AMERICA, INC. 发明人 PRINTEZIS ANTONIOS;KESSLER PETER B.
分类号 G06F12/00;G06F13/00 主分类号 G06F12/00
代理机构 代理人
主权项
地址