Skip to main navigation Skip to search Skip to main content

An aspect pointcut for parallelizable loops

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

In this paper, we describe the design and implementation of a parallelizable loop pointcut for an aspect-oriented compiler. Prior to this study, several prototype solutions existed for loop pointcuts, but the solutions were not very granular. In particular, they were not able to differentiate between loops that are parallelizable and those that are not. Being able to identify parallelizable loops automatically, as part of an aspect-oriented compiler, is particularly important because (1) manually identifying parallelizable loops is known to be a difficult problem and (2) aspectizing parallelized loops can lead to a reduction in code tangling and an increase in separation of concerns. Identifying parallelizable loops is known to be a difficult problem, and as such, this study's parallelizable loop pointcut implements a heuristic solution. Thus, the pointcut identifies many parallelizable loops as being parallelizable, but not all. For two test programs where the pointcut was unable to identify parallelizable loops, the inability to detect parallelizability was, surprisingly, somewhat beneficial. When those programs' loops ran in parallel (as part of a non-aspect-oriented program), their calculated results were slightly different from the known theoretical results, but when run sequentially (with the aspect-oriented compiler), the calculated results matched the known theoretical results.

Original languageEnglish
Title of host publicationProceedings of the 29th Annual ACM Symposium on Applied Computing, SAC 2014
PublisherAssociation for Computing Machinery (ACM)
Pages1619-1624
Number of pages6
ISBN (Print)9781450324694
DOIs
StatePublished - 2014
Event29th Annual ACM Symposium on Applied Computing, SAC 2014 - Gyeongju, Korea, Republic of
Duration: Mar 24 2014Mar 28 2014

Publication series

NameProceedings of the 29th Annual ACM Symposium on Applied Computing

Conference

Conference29th Annual ACM Symposium on Applied Computing, SAC 2014
Country/TerritoryKorea, Republic of
CityGyeongju
Period3/24/143/28/14

ASJC Scopus Subject Areas

  • Software

Keywords

  • Aspect-oriented programming
  • Loop pointcut
  • Parallelizable loops

Fingerprint

Dive into the research topics of 'An aspect pointcut for parallelizable loops'. Together they form a unique fingerprint.

Cite this