首页> 外国专利> Method, Data storing memory and System for automatic revising of object-oriented computer programs, that access and update persistently stored objects.

Method, Data storing memory and System for automatic revising of object-oriented computer programs, that access and update persistently stored objects.

机译:用于自动修改面向对象的计算机程序的方法,数据存储存储器和系统,该程序访问和更新持久存储的对象。

摘要

A system and method for automatically converting a compiled program that accesses objects stored in main memory into a program that accesses and updates persistently stored objects. An initial computer program includes original instructions for accessing and updating objects in at least a first object dass. The original instructions access and update objects in a computer's main memory. The system automatically revises the initial computer program to generate a revised computer program by adding to the original instructions object loading instructions and object storing instructions. During execution of the revised computer program, the object loading instructions load a copy of one of the persistently stored objects into a corresponding object in the computer's main memory when the object is accessed for a first time. The object storing instructions copy objects in the computer's main memory that contain new or modified data into corresponding persistently stored objects upon the occurrence of predefined events, such as the completion of a transaction. The system further revises the initial computer program to generate the revised computer program by adding to the original instructions dirty object marking instructions that, during execution of the revised computer program, keep track of which objects in the computer's main memory contain new and/or updated data. The object storing instructions copy only those of the objects in the computer's main memory that contain new and/or updated data. IMAGE
机译:一种用于将访问主存储器中存储的对象的已编译程序自动转换为访问并更新持久存储的对象的程序的系统和方法。初始计算机程序包括用于访问和更新至少第一对象数据中的对象的原始指令。原始指令访问和更新计算机主内存中的对象。通过将对象加载指令和对象存储指令添加到原始指令,系统自动修改初始计算机程序以生成修订的计算机程序。在执行修改后的计算机程序期间,对象加载指令在第一次访问对象时将持久存储的对象之一的副本加载到计算机主存储器中的相应对象中。对象存储指令在发生预定义事件(例如事务完成)时,将包含新数据或已修改数据的计算机主内存中的对象复制到相应的持久存储对象中。该系统还通过将脏对象标记指令添加到原始指令来修改初始计算机程序以生成修改后的计算机程序,该脏对象标记指令在执行修改后的计算机程序期间跟踪计算机主存储器中的哪些对象包含新对象和/或更新对象。数据。对象存储指令仅复制计算机主内存中包含新数据和/或更新数据的那些对象。 <图像>

著录项

  • 公开/公告号EP0789300B1

    专利类型

  • 公开/公告日2003-09-17

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC;

    申请/专利号EP19970300667

  • 发明设计人 CATTELL RODERIC G.G.;TOCK THERON D.;

    申请日1997-02-03

  • 分类号G06F9/44;

  • 国家 EP

  • 入库时间 2022-08-21 23:54:15

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号