Aspect-oriented support for synchronization in parallel computing

  • Authors:
  • Chenchen Xi;Bruno Harbulot;John R. Gurd

  • Affiliations:
  • The University of Manchester, Manchester, United Kingdom;The University of Manchester, Manchester, United Kingdom;The University of Manchester, Manchester, United Kingdom

  • Venue:
  • Proceedings of the 1st workshop on Linking aspect technology and evolution
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Presents case studies for, and implementations of, synchronized block join points that together augment the capabilities of join points for synchronized methods in intercepting and modifying synchronization actions in distributed, Java-based, aspect oriented software. The models are applicable in any aspect oriented environment, but emphasis is placed on compatibility with AspectJ. The power of such a join point is first illustrated by analysing some case studies. While some such examples can be handled using aspects that intercept synchronized method calls, a fully general scheme is shown to need with Java synchronized blocks. The approach for recognising the synchronized block uses context exposure to provide full control of the thread behaviour when many threads compete to be executed. The proposed join point model is enhanced with a mechanism for removal of unnecessary synchronization, which is vital for reducing overheads associated with the lock. There is also a facility for re-introducing necessary synchronization that has previously been removed.