• DocumentCode
    596200
  • Title

    Empowering Non-conservative Parallelizing Refactoring by Non-monotonic Reasoning

  • Author

    Chalabine, M.

  • Volume
    1
  • fYear
    2012
  • fDate
    4-7 Dec. 2012
  • Firstpage
    721
  • Lastpage
    724
  • Abstract
    We explore how non-monotonic reasoning can improve a recently introduced approach to parallelization based on non-conservative invasive code refactoring. As the core contribution we suggest to encode parallelization in terms of (libraries of) parallelization strategies - generic defensible sequences of typed artifacts a.k.a. parallelization recipes. We also suggest to subject these strategies to a specific form of non-monotonic reasoning. This is contrasted with previous approaches based on monotonic inferences. While contemporary parallelization seeks to decide whether a fragment of code is parallelizable our refactoring strategies aim at yielding better parallelization optimized across multiple rewrites. While contemporary parallelization reasons about code we abstract to a higher level where facts about parallelization are accumulated and used as reasoning artifacts. As a proof of concept we illustrate how the suggested generic approach helps optimize data distribution. While we build our discussion around the problem of parallelizing legacy software we also show how generic weaving (c.f. universal) can be introduced with no loss in reusability.
  • Keywords
    inference mechanisms; parallel processing; software maintenance; software reusability; nonconservative invasive code refactoring; nonconservative parallelizing refactoring; nonmonotonic reasoning; parallelization recipes; reusability; Bismuth; Cognition; Libraries; Software; Software engineering; USA Councils; Weaving; artificial intelligence; code manipulation; code transformation; sequential to parallel; serial;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference (APSEC), 2012 19th Asia-Pacific
  • Conference_Location
    Hong Kong
  • ISSN
    1530-1362
  • Print_ISBN
    978-1-4673-4930-7
  • Type

    conf

  • DOI
    10.1109/APSEC.2012.147
  • Filename
    6462734