首页> 外国专利> Accessing shorter-duration instances of activatable objects based on object references stored in longer-duration memory

Accessing shorter-duration instances of activatable objects based on object references stored in longer-duration memory

机译:根据较长时间内存中存储的对象引用访问较短时间的可激活对象实例

摘要

Techniques are provided for accessing an instance of a recreatable object in a shorter-duration memory based on a reference located in a longer-duration memory, where the shorter-duration memory is associated with a call. One technique involves (1) locating, within the shorter-duration memory, a context structure associated with the call; (2) locating an XREF pointers array based on data cached within the context structure; (3) determining whether the XREF pointers array includes a pointer associated with the reference; and (4) if the XREF pointers array includes a pointer associated with the reference, then following the pointer to locate the instance within the shorter-duration memory. Another technique, which may be employed in addition to or instead of the first technique, involves: (1) when a class is activated, generating, within the shorter-duration memory, a class object associated with the class; (2) storing, within the class object, data for locating instances of recreatable objects associated with the class; (3) to dereference the reference, performing the steps of (a) determining that the reference is associated with the class; and (b) using the data within the class object to locate the instance of the recreatable object.
机译:提供了用于基于位于较长持续时间存储器中的引用来访问较短持续时间存储器中的可重新创建对象的实例的技术,其中较短持续时间存储器与呼叫相关联。一种技术涉及(1)在较短持续时间的内存中定位与该调用关联的上下文结构; (2)根据上下文结构中缓存的数据定位XREF指针数组; (3)确定XREF指针数组是否包括与引用关联的指针; (4)如果XREF指针数组包含与引用关联的指针,则在该指针之后将实例定位在较短持续时间的内存中。作为第一种技术的补充或替代,可以采用的另一种技术包括:(1)当一个类被激活时,在较短持续时间的存储器中生成与该类相关联的类对象; (2)在类对象内存储用于定位与该类相关联的可重现对象的实例的数据; (3)取消引用该引用,执行以下步骤:(a)确定该引用与该类别相关联; (b)使用类对象中的数据定位可重现对象的实例。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号