作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (01): 51-54.

• 软件技术与数据库 • 上一篇    下一篇

一种基于日志的增量式编织机制

周桂芳,卢 科,岳丽华   

  1. (中国科学技术大学计算机科学与技术学院,合肥 230027)
  • 收稿日期:2011-06-10 出版日期:2012-01-05 发布日期:2012-01-05
  • 作者简介:周桂芳(1983-),男,硕士研究生,主研方向:面向方面编程,闪存数据库;卢 科,博士研究生;岳丽华,教授、博士生导师
  • 基金资助:
    国家自然科学基金资助项目“闪存数据库技术研究”(60833005)

Incremental Weaving Mechanism Based on Log

ZHOU Gui-fang, LU Ke, YUE Li-hua   

  1. (School of Computer Science and Technology, University of Science and Technology of China, Hefei 230027, China)
  • Received:2011-06-10 Online:2012-01-05 Published:2012-01-05

摘要: 编织效率会严重影响面向方面编程的性能。针对上述情况,将按需编织和编织历史机制相结合,提出一种基于日志的增量式编织机制。使用索引日志、编织历史日志和系统日志3种日志文件,通过改变方面存储结构,定量描述方面状态,计算方面状态改变量,由此实现效率更高的增量式编织。

关键词: 面向方面编程, 编织, 日志, 增量式编织

Abstract: In order to improve the performance of the weaving efficiency which is one of the most important efficiency factors for Aspect-oriented Programming(AOP), based on current research results that raise weaving-on-demand, weaving history mechanisms and weaving approach implementation based on log, this paper presents a log-based incremental weaving mechanism implementation. This method gives an aspect storage structure, based on this structure it can quantitatively describe current weaving state, computes the change of weaving state, and achieves incremental weaving to improve the efficiency of weaving.

Key words: Aspect-oriented Programming(AOP), weaving, Log, incremental weaving

中图分类号: