A new type of AOP system supports multi- language and run

Author
PengFan
Advisor
FanMingZuo
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2006
Downloads
84
Citations
0

Request the full text

Abstract

Aspect-Oriented Programming is a new idea of programming. It separates the code of the special domain from the business logic. The codes of the business logic no longer have any reference on special domain codes. After encapsulating and managing the relation between business logic and special domain issue with aspect, the changes scattering in the system could be well managed.AOP provide a way of describing crosscut concerns and weaving the concerns into software system. This implementation modularizes the crosscut concerns. The crosscut concern could be easily handled by marking off the aspect code. The developer can change、plug in or remove the aspect of a system, or even can reuse the aspect.Currently, the AOP is still during the evolution. The AOP languages and implementations are imperfect, but the appearance of the AOP may change the whole way of developing software. It could implement the“use case-drive”developing more perfectly.We analyze the state of the AOP language in this paper, especially AspectJ——the factual standard of AOP. By summarizing the limitation and the future of the AOP, we propose a system that supports muti-languages runtime AOP. This system is base on a compiler architecture named Low Level Virtual Machine that including a muti-languages supporting IR and could optimize the program during the whole lift time of the software. By extending the low level virtual machine to map the high-level semanteme to IR-level, we can implement dynamic weaving. At the same time, in order to support reuse aspect between different AOP languages, we design a universal XML schema to record the AOP semanteme.In succession, we show the performance process of this system by analyzing a example, and we evaluate the impaction of implementing the AOP function to the low level virtual machine compiler system, especially the JIT compiler system. .At last, we point out the improving direction of this system.

Table of contents

Summary 4-5 Abstract 5-9 List of Figures to Table 9-10 directory 10-11 Chapter Introduction 11-22 1.1 Origin of aspect-oriented programming 11-14 1.1.1 structured and object-oriented programming -12 1.1.2 structured and object-oriented programming 12-14 1.2 aspect-oriented programming (AOP) 14-16 1.2 .1 separation of concerns 14-16 1.2.2 AOP three development steps 16 1.3 AOP and the AOP languages ??positioning crosscutting concerns 16-20 1.3.1 synthetic filter the 16-17 1.3.2 the adaptive Programming (Adaptive Programming) 17 1.3.3 multidimensional approach 17-18 1.3.4 reflection methods 18 1.3.5 Hybrid Method 18-19 1.3.6 AspectJ 19 - 20 1.4 This paper studies the content and outcome of 20-21 1.5 organizational structure of the paper 21-22 AOP Analysis and a new program design are found; 22-27 2.1 AOP language specification 22-23 2.1.1 connection points are found; 22 2.1.2 Advice 22-23 2.1.3 Pointcut, to 23 Aspect 2.1.4 23 2.2 AOP language implementation types 23-24 2.3 each AOP implementation exist 24-25 2.3.1 AOP trends 24 2.3.2 AOP implementations deficiencies 24-25 2.3.3 caused by insufficient reason AOP implementation the inadequate solution 25 2.4 one for AOP implementation 25-26 2.5 Summary 26-27 Chapter LLVM compiler architecture Profile 27-42 the the LLVM About 3.1 27-29 3.2 LLVM code implementation 29-35 3.2.1 the LLVM instruction set overview 29-30 the 3.2.2 language is not related to the type of information, Cast \u0026 GetElementPtr 30-32 3.2.3 explicit memory allocation and unified memory model 32 3.2.4 function calls and exception handling 32-35 3.2.5 text format, binary, and memory realize 35 3.3 the LLVM compiler architecture the 35-39 3.3.1 the LLVM compiler framework Advanced Design 36-37 3.3. 2 compile time: the expansion of the front-end and static optimization are found; 37-38 3.3.3 Linker and process optimizer 38 3.3.4 Offline or JIT original code generator 38 3.3.5 runtime path profile and then compile 38-39 3.3.6 based on end-user profile information offline optimization 39 3.4 Low Level Virtual Machine some research 39-40 3.5 Summary 40-42 Chapter LLVM-based running multi-language AOP system design achieve 42-70 4.1 overall design 42-44 4.1.1 LLVM can support 42 4.1.2 overall structure design and function of each module Overview 42-44 4.2 the LLVM expansion method 44-45 4.3 dynamic weaving several important data structures 45-50 4.3.1 Connection Point 45-48 4.3.2 Advice the 48-49 4.3.3 Aspect structure 49-50 4.4 woven into the design 50-61 4.4.1 woven into point positioning 50-55 4.4.2 Advice weaving 55 -57 4.4.3 connection point to the context of access methods 57-60 4.4.4 Other 60-61 4.4.5 woven into the execution process 61 4.5 of matching design 61-68 4.5.1 XML file mode 61-67 4.5.2 match specific implementation process the 67-68 4.6 Accessibility Module Design 68-69 4.6.1 advice priority 68 4.6.2 and control procedures the interaction problem 68-69 4.7 Summary 69-70 Chapter AOP system of testing and analysis 70-84 5.1 test principle and analysis principles 70-71 5.2 A specific example of the test analysis 71-79 5.2.1 test environment 71 5.2.2 test use cases are found; 71-75 5.2.3 Expected results 75 5.2.4 test result. analysis 75-79 5.3 multiple sets of test cases Analysis results 79-83 5.3.1 test data 79-81 5.3.2 Analysis Tools 81 5.3.3 Analysis of the results. 81-83 5.4 Summary 83-84 Chapter Summary and Outlook the 84-86 6.1 major work summarizes 84-85 6.2 future work outlook 85-86 Acknowledgements to References 86-87 87-91 during the study period research 91

Related dissertations

  1. The Development of CommonTools of C# Upgrade System
    RenJunWei ·Jilin University ·2007 ·Master's thesis
  2. .NET Platform AOP Frame Applied Research
    SuiGuoHui ·Sichuan University ·2005 ·Master's thesis
  3. Research on Access Control Model Based on EGR-RBAC and Spring Security Framework
    LiangFeng ·Hefei University of Technology ·2013 ·Master's thesis
  4. Design and Implementation of Uniform Interface Platform System on AOP/IoC in the Telecommunications Industry
  5. The Supermarket Information Management System Design and Implementation
    WangYiJun ·Shandong University ·2013 ·Master's thesis
  6. The Design of System Framework Based on Business and Data Driving
    BaoNaNa ·Dalian Maritime University ·2013 ·Master's thesis
  7. Research on Running Monitoring System of Saas Platform for Automobile Industry Chain Collaboration
    ZhengWeiNa ·Southwest Jiaotong University ·2013 ·Master's thesis
  8. Analysis and Research of Security of Campus Network Server
    ZhangChengZuo ·Hunan University ·2012 ·Master's thesis
  9. Design and Implementation of Web Servers’ Performance Tracking Framework
  10. Research on Some Key Technology of Data Mining in E-commerce
    LuoSiMao ·Nanchang University ·2013 ·Master's thesis
  11. Automatic Translation from Name-based Pointcuts to Analysis-based Pointcuts for Robust Aspects
    WangLin ·Tianjin University ·2012 ·Master's thesis
  12. Research and implementation of the law enforcement system of land resource based on AOP
    GongJiaYue ·Fudan University ·2011 ·Master's thesis
  13. Research on Methods for Generating AOP Test Cases Based on Predicate Dynamic Slicing
    WangBo ·Zhengzhou University ·2012 ·Master's thesis
  14. Design and implementation of medical insurance management information system based on Spring Framework
    PeiLun ·Fudan University ·2011 ·Master's thesis
  15. Modeling and Verification of Cyber Physical Systems Based on Formal Method
    LiuQiuJin ·Guangdong University of Technology ·2012 ·Master's thesis
  16. The Design and Implementation of Financial System Based on the AOP Design Pattern
    WuXiuSong ·Jilin University ·2012 ·Master's thesis
  17. The Implementation and Optimization of DiSL Weaver
    ZhengYuDi ·Shanghai Jiaotong University ·2013 ·Master's thesis
  18. A Publish/Subscribe Model for Service Dynamic Update in OSGi
    ZhaoJie ·Shanghai Ocean University, ·2012 ·Master's thesis
  19. Research on Aspect-oriented Software Modeling and Application in Software Development
    WangFei ·Xi'an University of Engineering ·2011 ·Master's thesis
  20. Aspect-oriented Programming-based Unit Test Effectiveness Detection System