MAKING C+ + OBJECTS PERSISTENT:PROBLEMS AND SOLUTIONS
DOI:
Author:
Affiliation:

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    MIDS(mutitmedia intelligent database system) is an object database management system.Its database programming language is P++,which is based on C++.In the implementation of P++ the authors encountered the following problems:First,C++ pointer is ambiguous,not only can member pointer and reference pointer not be distinguished in semantics,but also volatile pointer and persistent pointer.This pointer ambiguity results in object locking problem in transaction management and others.Second, C++ objects that have virtual functions or virtual base classes contain memory pointers, which were not specified by the programmer.If such C++ objects are made persistent,then these pointers may be invalid across program invocations.Last,If the authors store object using file system call services,they should design complicated cache subsystem and a large amount of object format transformation,which demand a lot of memory and time.So they must find another solution storage scheme based on virtual memory mapping.

    Reference
    Related
    Cited by
Get Citation

陶伟,麦中凡. C++对象的持久化中的问题和解决方案.软件学报,1996,7(2):73-82

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:
  • Revised:December 29,1994
  • Adopted:
  • Online:
  • Published:
You are the firstVisitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-4
Address:4# South Fourth Street, Zhong Guan Cun, Beijing 100190,Postal Code:100190
Phone:010-62562563 Fax:010-62562533 Email:jos@iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063