PUMA
Istituto di Scienza e Tecnologie dell'Informazione     
Dazzi P., Laforenza D., Danelutto M., Vanneschi M., Pasin M., Presti L. PAL: exploiting Java annotations for parallelism. Gorlatch Sergei, Bubak Marian, Priol Thierry (eds.). US: Springer, 2008.
 
 
Abstract
(English)
We discuss how Java annotations can be used to provide the meta information needed to automatically transform plain Java programs into suitable parallel code that can be run on workstation clusters, networks and grids. Programmers are only required to decorate the methods that will eventually be executed in parallel with standard Java 1.5 annotations. Then these annotations are automatically processed and parallel byte code is derived. When the annotated program is started, it automatically retrieves the information about the executing platform and evaluates the information specified inside the annotations to transform the bytecode into a semantically equivalent multithreaded or multitask version, depending on the target architecture features. The results returned by the annotated methods, when invoked, are futures with a wait-by-necessity semantics. A PAL (Parallel Abstraction Layer) prototype exploiting the annotation based parallelizing approach has been implemented in Java. PAL targets JJPF, an existing, skeleton based, JAVA/JINI programming environment, as Parallel Framework. The experiments made with the prototype are encouraging: the design of parallel applications has been greatly simplified and the performances obtained are the same of an application directly written in JJPF.
URL: http://www.springer.com/computer/communications/book/978-0-387-72811-7?detailsPage=toc
Subject Asynchronous method invocation
Wait-by-necessity
Annotations
D.3.4 Processors


Icona documento 1) Download Document PDF


Icona documento Open access Icona documento Restricted Icona documento Private

 


Per ulteriori informazioni, contattare: Librarian http://puma.isti.cnr.it

Valid HTML 4.0 Transitional