发明授权
- 专利标题: Methods for managing memory in a run-time environment including activation and deactivation of objects
- 专利标题(中): 在运行时环境中管理内存的方法,包括激活和停用对象
-
申请号: US09512622申请日: 2000-02-25
-
公开(公告)号: US06604182B1公开(公告)日: 2003-08-05
- 发明人: Harlan Sexton , Peter Benson , Jerry Schwarz
- 申请人: Harlan Sexton , Peter Benson , Jerry Schwarz
- 主分类号: G06F1200
- IPC分类号: G06F1200
摘要:
Methods for managing memory in a run-time environment are described, in which an object is activated by both initializing the object and registering a routine to deallocate or deactivate the object at the end of a call (e.g. by setting it to null to unreference the object), which prevents the object, which may be a large object, from being migrated into session memory. This deactivation routine is called after the finalization of garbage collected objects that may use the object. In a subsequent call, the object is checked before use to determine if the object is already activated and re-initialized if the object is not activated.
信息查询