• DocumentCode
    2976772
  • Title

    A Portable Javar with Automatic Handling of Primitive Variables

  • Author

    Senghor, Abdourahmane ; Konate, Karim

  • Author_Institution
    Dept. of Math. & Inf., Cheikh Anta Diop Univ. of Dakar, Dakar, Senegal
  • fYear
    2012
  • fDate
    14-16 Dec. 2012
  • Firstpage
    150
  • Lastpage
    153
  • Abstract
    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.
  • Keywords
    C language; Java; multi-threading; program compilers; C language; Java multithreading features; Java source-to-source restructuring compiler; JavaCC; atomic class; automatic primitive variable handling; implicit parallelism; multiway recursive methods; parallel loop body; portable Javar; synchronized keywords; volatile keywords; Concurrent computing; Instruction sets; Java; Multithreading; Reactive power; Synchronization; JavaCC; atomic; javar; primitive variable; synchronized; volatile;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Computing, Applications and Technologies (PDCAT), 2012 13th International Conference on
  • Conference_Location
    Beijing
  • Print_ISBN
    978-0-7695-4879-1
  • Type

    conf

  • DOI
    10.1109/PDCAT.2012.28
  • Filename
    6589255