ReLooper: Refactoring for Loop Parallelism
Escrito por gacevedo el 8 de Octubre de 2009
ReLooper is a refactoring tool which converts sequential loops into parallel ones. It makes use of the Java ParallelArray.
The tool will first analyze whether the loop iterations are safe for parallel operations. That is accomplished by analyzing if the iterations are made for all the elements of the array, checking whether loop iterations have conflict memory access, and detecting I/O operations that, if present, makes no sense to parallelize the loop.
What’s very interesting about ReLooper is that it is an interactive tool and won’t take more than 30 seconds to get some results to the programmer. It there are any conflicts, the tool will ask whether to continue or stop the refactoring process. If there are no conflicts the tool will ask if the programmer wants to apply the changes ReLooper intends to do or not. There are a few options to choose from.
The results are very interesting and promising, so keep your eyes on http://refactoring.info/tools/ReLooper

