Accueil > Résultats de la recherche > Suite de la publication

A Portable Javar with Automatic Handling of Primitive Variables

Javar is a Java source-to-source restructuring compiler, which is written in C language. It exploits implicit parallelism in loops and multi-way recursive methods in a Java program. Programmer indicates parallel regions with annotations. However, parallelization is prohibited by the compiler when a primitive variable declared outside the parallel loop body and referred to within that loop body is not a read-only access variable. In this paper, we propose to (1) fully re-implement javar by using JavaCC (2) introduce an automatic handling of primitive variable so that the compiler allows parallelization for any primitive variables with any access operation, without needing annotations. This is achieved by using Java's multithreading features such as synchronized and volatile keywords and atomic class. As a result, programmer does not care about the handling of the primitive variables referred to within the loop body. Results of experiments show performance gain.

Auteur(s) : Senghor, A. ; Konate, K.
Pages : 150 - 153
Année de publication : 2012
Revue : proceedings of the 13th International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT),
Type : Article
Mise en ligne par : KONATE Karim