首页>
外国专利>
method and system for data automatic change of object-oriented computer programs which access and modification of persistent objects are stored.
method and system for data automatic change of object-oriented computer programs which access and modification of persistent objects are stored.
展开▼
机译:存储和访问持久对象的面向对象计算机程序的数据自动更改的方法和系统。
展开▼
页面导航
摘要
著录项
相似文献
摘要
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
展开▼