Static and Dynamic Detection of Behavioral Conflicts Between Aspects

P.E.A. Durr, Lodewijk Bergmans, Mehmet Aksit

    Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

    77 Downloads (Pure)


    Aspects have been successfully promoted as a means to improve the modularization of software in the presence of crosscutting concerns. The so-called aspect interference problem is considered to be one of the remaining challenges of aspect-oriented software development: aspects may interfere with the behavior of the base code or other aspects. Especially interference between aspects is difficult to prevent, as this may be caused solely by the composition of aspects that behave correctly in isolation. A typical situation where this may occur is when multiple advices are applied at a shared, join point. In [1] we explained the problem of behavioral conflicts between aspects at shared join points. We presented an approach for the detection of behavioral conflicts. This approach is based on a novel abstraction model for representing the behavior of advice. This model allows the expression of both primitive and complex behavior in a simple manner. This supports automatic conflict detection. The presented approach employs a set of conflict detection rules, which can be used to detect generic, domain specific and application specific conflicts. The approach is implemented in Compose*, which is an implementation of Composition Filters. This application shows that a declarative advice language can be exploited for aiding automated conflict detection. This paper discusses the need for a runtime extension to the described static approach. It also presents a possible implementation approach of such an extension in Compose*. This allows us to reason efficiently about the behavior of aspects. It also enables us to detect these conflicts with minimal overhead at runtime.
    Original languageEnglish
    Title of host publicationProceedings of the Seventh International Workshop on Runtime Verification
    EditorsO. Sokolsky, S. Tasiran
    Place of PublicationBerlin
    Number of pages13
    ISBN (Print)978-3-540-77394-8
    Publication statusPublished - Dec 2007
    Event7th International Workshop on Runtime Verification, RV 2007 - Vancouver, Canada
    Duration: 13 Mar 200713 Mar 2007

    Publication series

    NameLecture Notes in Computer Science
    PublisherSpringer Verlag
    ISSN (Print)0302-9743


    Conference7th International Workshop on Runtime Verification, RV 2007
    OtherMarch 13, 2007


    • IR-60254
    • METIS-246023
    • EWI-11925


    Dive into the research topics of 'Static and Dynamic Detection of Behavioral Conflicts Between Aspects'. Together they form a unique fingerprint.

    Cite this