Join us on:

ReLooper: Refactoring for Loop Parallelism in Java (2 of 2)

presenter: Danny Dig, University of Illinois at Urbana-Champaign

In the multicore era, sequential programs need to be refactored for parallelism. The next version of Java provides ParallelArray, an array datastructure that supports parallel operations over the array elements. For example, one can apply a procedure to each element, or reduce all elements to a new element in parallel. Refactoring an array to a ParallelArray requires (i) analyzing whether the loop iterations are safe for parallel execution, and (ii) replacing loops with the equivalent parallel operations. When done manually, these tasks are non-trivial and time-consuming. This demo presents ReLooper, an Eclipse-based refactoring tool that performs these tasks automatically. Preliminary experience with refactoring real programs shows that ReLooper is useful.

Full author list:

  • Danny Dig, University of Illinois at Urbana-Champaign
  • Mihai Tarce , Politehnica University of Timisoara
  • Cosmin Radoi , Politehnica University of Timisoara
  • Marius Minea, Politehnica University of Timisoara
  • Ralph Johnson, University of Illinois at Urbana-Champaign
Please email any questions to . This e-mail address is being protected from spambots. You need JavaScript enabled to view it