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  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.
|Title of host publication||Proceedings of the Seventh International Workshop on Runtime Verification|
|Editors||O. Sokolsky, S. Tasiran|
|Place of Publication||Berlin|
|Number of pages||13|
|Publication status||Published - Dec 2007|
|Name||Lecture Notes in Computer Science|
Durr, P. E. A., Bergmans, L., & Aksit, M. (2007). Static and Dynamic Detection of Behavioral Conflicts Between Aspects. In O. Sokolsky, & S. Tasiran (Eds.), Proceedings of the Seventh International Workshop on Runtime Verification (pp. 38-50). (Lecture Notes in Computer Science; Vol. 4839, No. 7). Berlin: Springer. https://doi.org/10.1007/978-3-540-77395-5_4