Skip to main content
QUICK REVIEW

[Paper Review] An Approach for Computing Dynamic Slice of Concurrent Aspect-Oriented Programs

Abhishek Ray, Siba Mishra|arXiv (Cornell University)|Apr 13, 2014
Software Engineering ResearchComputer Science27 references7 citations
TL;DR

This paper proposes a dynamic slicing algorithm for concurrent aspect-oriented programs using a Concurrent Aspect-oriented System Dependence Graph (CASDG) to model dependencies across non-aspect and aspect code. The approach extends the NMDS algorithm by marking and unmarking executed nodes at runtime, enabling precise slice computation in concurrent, aspect-oriented systems with proven effectiveness in identifying relevant program components during execution.

ABSTRACT

We propose a dynamic slicing algorithm to compute the slice of concurrent aspect-oriented programs. We use a dependence based intermediate program representation called Concurrent Aspect-oriented System Dependence Graph (CASDG) to represent a concurrent aspect-oriented program. The CASDG of an aspect-oriented program consists of a system dependence graph (SDG) for the non-aspect code, a group of dependence graphs for aspect code and some additional dependence edges used to connect the system dependence graph for the non-aspect code to dependence graph for aspect code. The proposed dynamic slicing al-gorithm is an extended version of NMDS algorithm for concurrent object-oriented programs, which is based on marking and unmarking of the executed nodes in CASDG appropriately during run-time.

Motivation & Objective

  • To address the challenge of dynamic slicing in concurrent aspect-oriented programs, where cross-cutting concerns and thread-level parallelism complicate dependency tracking.
  • To develop a scalable and precise slicing technique that accounts for both object-oriented and aspect-oriented constructs in concurrent execution environments.
  • To extend existing dynamic slicing algorithms to handle the complexity introduced by aspects and concurrent threads in software systems.
  • To provide a formal and executable representation of program dependencies using the Concurrent Aspect-oriented System Dependence Graph (CASDG).
  • To support effective debugging and analysis by isolating only the relevant program components affecting a specific variable or condition at runtime.

Proposed method

  • The method constructs a Concurrent Aspect-oriented System Dependence Graph (CASDG) that integrates system dependence graphs (SDGs) for non-aspect code with separate dependence graphs for aspect code.
  • Additional dependence edges are introduced to model cross-cutting relationships between non-aspect and aspect code in the CASDG.
  • The approach extends the NMDS algorithm by incorporating runtime marking and unmarking of nodes in the CASDG based on actual execution traces.
  • The algorithm tracks data and control dependencies across threads and aspect weavings, ensuring accurate slice computation in concurrent execution contexts.
  • The method supports dynamic slicing by analyzing executed nodes and their dependencies in the CASDG during program execution.
  • The framework enables precise identification of relevant statements affecting a target variable or condition at a specific execution point.

Experimental results

Research questions

  • RQ1How can dynamic slicing be effectively computed in concurrent aspect-oriented programs that combine object-oriented and aspect-oriented features?
  • RQ2What formal program representation is needed to model dependencies across non-aspect code, aspect code, and concurrent threads?
  • RQ3How can existing dynamic slicing algorithms be adapted to handle the complexity of aspect weaving and thread-level concurrency?
  • RQ4What mechanisms ensure correctness and precision in slice computation when multiple threads and cross-cutting concerns are involved?
  • RQ5To what extent does the proposed CASDG-based approach improve the accuracy and scalability of dynamic slicing in concurrent aspect-oriented systems?

Key findings

  • The proposed CASDG-based dynamic slicing algorithm successfully captures both data and control dependencies across non-aspect and aspect code in concurrent programs.
  • The integration of aspect code into the system dependence graph via additional dependence edges enables accurate modeling of cross-cutting concerns.
  • The extension of the NMDS algorithm with runtime marking and unmarking mechanisms ensures precise slice computation in concurrent execution scenarios.
  • The approach demonstrates improved precision in identifying relevant program components compared to traditional slicing techniques in concurrent and aspect-oriented contexts.
  • The method supports effective debugging by isolating only the statements that influence a specific variable or condition at a given execution point.
  • The framework is formally grounded and applicable to real-world concurrent aspect-oriented systems, as validated through theoretical analysis and prior related work.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.