Research on Parallelization of Aspect-oriented Program

Author
HeTengFei
Advisor
MaoXiaoGuang
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP311.1 Programming
Degree
Master's thesis
Year
2009
Downloads
41
Citations
0

Request the full text

Abstract

Aspect-Oriented programming (AOP), as an ideal candidate to encapsulate crosscutting concerns, has been widely concerned in recent years. Aspects can observe the control flow of programs as a special module and execute its own actions when the target event happens. The execution model of AOP is different from traditional programs. However, executing aspects cost extra running time. For example, when the AOP technology is applied in the field of software runtime monitoring, the weaving mechanism will arose extra time costs and influence the accuracy of monitoring. In the field of hardware, with the development of the multi-core technique, the multi-core computing platform becomes much more mature, which has been widely used in PCs. The programs need to be parallelized for utilizing the capability of multi-core platforms. But the AOP technique doesn’t provide the parallel execution model in the multi-core environment.This paper analyzes the structure feature of AOP and proposes an AOP parallel framework for AspectJ, a typical aspect-oriented programming language. Firstly, we adopt the compiling directives used in JOMP, and modify it to suit with the Aspect-Oriented program. Secondly, according to the feature of AOP, we divide the parallel process into three parts: the parallelization between aspects, between aspect and base program, and among base codes. Based on Java multi-threads mechanism, an algorithm has been presented to achieve automatic parallelization according to prescriptive denotations.ABC is an extensible platform for AspectJ. It provides modular compiling mechanism which can simplify the experiment to test the parallel features of AsepctJ. We implement the algorithm above and achieve the expecting results based on it.

Table of contents

Summary 8-9 ABSTRACT 9-10 first chapter 10-13 1.1 research background and significance 10 -11 1.2 research content 11-12 1.3 thesis structure 12-13 chapter aspect-oriented programming language 13-22 < br /> 2.1 aspect -oriented programming language overview 13-18 2.1.1 programming language evolution 13 2.1.2 crosscutting concerns issues 13 - 15 2.1.3 AOP language analysis 15-16 2.1.4 application weaving aspect-oriented programs to achieve compile 16-18 2.2 parallelizing compiler technology overview 18-19 2.3 AspectJ 19-21 2.3.1 AspectJ About 19 2.3.2 AspectJ language mechanisms 19-21 2.4 Summary 21-22 Chapter III of aspect-oriented program parallelization basic questions 22-37 aspect -oriented programming parallelization 3.1 Introduction 22-24 aspect -oriented programming parallelization 3.2 classification 24-27 3.2.1 aspects of parallel programs between 24-25 3.2.2 aspects parallel program with the base program between 25-26 3.2.3 based program parallel hierarchical structure 26-27 3.3 multicore, multithreaded mechanism 27 - 29 aspect -oriented programming 3.4 parallelization way to resolve concurrent object-oriented programming method 29-35 3.4.1 29-31 3.4.2 for parallelization methods program 31-32 3.4.3 compiler extensions for parallel 32-35 3.5 related research 35-36 <br / > 3.6 Summary 36-37 Chapter IV of aspect-oriented program parallelization strategies parallel 37-46 4.1 aspects of the program between 37-41 <br / > procedural parallel between 4.1.1 Introduction 37-38 4.1.2 exchangeable advice 38-39 4.1.3 advice exchangeable detection algorithm 39-40 4.1.4 aspects of inter- procedural analysis and parallelization solve parallel nbsp 40-41 4.2 procedural aspects of the program and the base between ; 41-44 <br / > 4.2.1 procedural aspects of the program in parallel with the base profile 41-42 parallel strategy execution order nbsp different relationship with the base 4.2.2 advice program ; 42-43 4.2. 3 automatic parallel conversion technology parallel 43-44 4.3 -based program 44-45 4.4 Summary 45-46 Chapter tool design and implementation and case studies 46-56 5.1 ABC compiler Profile 46-48 5.2 tools to design and implement 48-53 5.2 .1 compilation guide instruction 48-50 5.2.2 parallelizing compiler framework 50-52 5.2.3 runtime library 52-53 5.3 case Study 53-55 5.4 summary 55-56 Chapter VI Conclusion 56-58 6.1 entirety summary 56 6.2 deficiencies and future work 56-58 Thanks 58-59 References 59-64 authors school obtained during the academic achievements 64

Related dissertations

  1. Research on Aspect Conflict of Aspect-Oriented Software Development
  2. Design and Implementation of AspectJ Source Weaver for Incremental AOSD
    LiuZuoXia ·Jinan University ·2010 ·Master's thesis
  3. Research on Data Acquisition of3D Laser Point Scanner and the Algorithm of Hole-repairing and Smoothing
    FanMinJie ·Yangzhou University ·2013 ·Master's thesis
  4. Rough Set Attribute Reduction Algorithm Based on GA and MapPreduce
    FuZuoNa ·Anhui University ·2014 ·Master's thesis
  5. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  6. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  7. A Scalable Implementation of Adaptive Directional Lifting Wavelet Based Image Decomposition on CUDA
  8. Parallel distributed processing and application in rendering based on
  9. Research on Large-scale Unstructured Data Processing of Index and Visualization
    CaoLei ·Tianjin University ·2012 ·Master's thesis
  10. Operation Research and Implement of String Type Data in Column Database
  11. Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
  12. A Task Scheduling System Model Based on Parallel Resource Attribute Selection
  13. Design and Implementation of Vectorized FFTs on the YHFT-Matrix
  14. The Research on Multichannel Parallel Signals Processing of Lidar Ranging System Based on FPGA
  15. Research on the Implementation of High-Speed Image Decompression System Based on Parallel Technology
  16. Research on Joint Parallel Algorithm of H.264Encoders and Decoders
    ZhuXiaoYu ·Central South University ·2013 ·Master's thesis
  17. Research and Application on the High Speed FIR Digital Filter
  18. Comparative study of expression - painting and poetry in the time expression in painting time case
    ZhouZuo ·Central Academy of Fine Arts ·2014 ·Master's thesis
  19. Research on Control Stategies of Three-phase Grid-connected Photovoltaic Inverter
    WangRui ·Harbin Institute of Technology ·2012 ·Master's thesis
  20. Research on Parallel Issues for PV Inverter
    LiLei ·Liaoning University of Technology ·2014 ·Master's thesis