Implementing Partial Persistence in Object-Oriented Languages

被引:0
|
作者
Pluquet, Frederic [1 ]
Langerman, Stefan [1 ]
Marot, Antoine [1 ]
Wuyts, Roel [2 ]
机构
[1] Univ Libre Bruxelles, Brussels, Belgium
[2] Imec & KULeuven, Leuven, Belgium
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A partially persistent data structure is a data structure which preserves previous versions of itself when it is modified. General;theoretical schemes are known (e.g. the fat node method) for making any data structure partially persistent. To our knowledge however no general implementation of these theoretical methods exists to date. This paper evaluates different methods to achieve this goal and presents the first working implementation. of partial persistence in the object-oriented language Java. Our approach is transparent, i.e., it allows any existing data structures to become persistent without changing its implementation where all previous solutions require an extensive modification of the code by hand. This transparent property is important in view of the large number of algorithmic results that rely on persistence. Our implementation uses aspect-oriented programming, a modularization technique which allows us to instrument the existing code with the needed hooks for the persistence implementation. The implementation is them validated by running benchmarks to analyze both the cost of persistence and of the aspect oriented approach. We also illustrate its applicability by implementing a random binary search tree and making it persistent, and then using the resulting structure to implement a point location data structure in just a few lines.
引用
收藏
页码:37 / +
页数:4
相关论文
共 50 条
  • [41] ENCAPSULATION, DELEGATION AND INHERITANCE IN OBJECT-ORIENTED LANGUAGES
    WOLCZKO, M
    SOFTWARE ENGINEERING JOURNAL, 1992, 7 (02): : 95 - 101
  • [42] OBJECT-ORIENTED LANGUAGES - BORLANDS BRIDGE TO OOP
    THE, L
    DATAMATION, 1992, 38 (17): : 116 - &
  • [43] REASONING AND REFINEMENT IN OBJECT-ORIENTED SPECIFICATION LANGUAGES
    LANO, K
    HAUGHTON, H
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 615 : 78 - 95
  • [44] GENERALIZATION - AN ACTIVITY PROMOTED BY OBJECT-ORIENTED LANGUAGES
    LALONDE, W
    PUGH, J
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1988, 1 (02): : 48 - 52
  • [45] Exception Handling with OpenMP in Object-Oriented Languages
    Fan, Xing
    Mehrabi, Mostafa
    Sinnen, Oliver
    Giacaman, Nasser
    OPENMP: HETEROGENOUS EXECUTION AND DATA MOVEMENTS, IWOMP 2015, 2015, 9342 : 115 - 129
  • [46] Object-oriented concurrent programming languages and systems
    Tripathi, A
    Van Oosten, J
    Miller, R
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1999, 12 (07): : 22 - +
  • [47] SOFTWARE CONSTRUCTION USING OBJECT-ORIENTED LANGUAGES
    VORWERK, R
    SAFETY AND RELIABILITY OF AUTOMOBILE ELECTRONIC SYSTEMS, 1989, 780 : 345 - 353
  • [48] OBJECT-ORIENTED LANGUAGES, A NEW STYLE OF PROGRAMMING
    COINTE, P
    RECHERCHE, 1986, 17 (183): : 1564 - 1567
  • [49] Call graph construction in object-oriented languages
    Grove, D
    DeFouw, G
    Dean, J
    Chambers, C
    ACM SIGPLAN NOTICES, 1997, 32 (10) : 108 - 124
  • [50] Special track on object-oriented languages and systems
    Ancona, Davide
    Buckley, Alex
    Proceedings of the ACM Symposium on Applied Computing, 2009, : 1849 - 1850