Xjava: Exploiting parallelism with object-oriented stream programming

F Otto, V Pankratius, WF Tichy - Euro-Par 2009 Parallel Processing: 15th …, 2009 - Springer
F Otto, V Pankratius, WF Tichy
Euro-Par 2009 Parallel Processing: 15th International Euro-Par Conference …, 2009Springer
This paper presents the XJava compiler for parallel programs. It exploits parallelism based
on an object-oriented stream programming paradigm. XJava extends Java with new parallel
constructs that do not expose programmers to low-level details of parallel programming on
shared memory machines. Tasks define composable parallel activities, and new operators
allow an easier expression of parallel patterns, such as pipelines, divide and conquer, or
master/worker. We also present an automatic run-time mechanism that extends our previous …
Abstract
This paper presents the XJava compiler for parallel programs. It exploits parallelism based on an object-oriented stream programming paradigm. XJava extends Java with new parallel constructs that do not expose programmers to low-level details of parallel programming on shared memory machines. Tasks define composable parallel activities, and new operators allow an easier expression of parallel patterns, such as pipelines, divide and conquer, or master/worker. We also present an automatic run-time mechanism that extends our previous work to automatically map tasks and parallel statements to threads.
We conducted several case studies with an open source desktop search application and a suite of benchmark programs. The results show that XJava reduces the opportunities to introduce synchronization errors. Compared to threaded Java, the amount of code could be reduced by up to 39%. The run-time mechanism helped reduce effort for performance tuning and achieved speedups up to 31.5 on an eight core machine.
Springer
Showing the best result for this search. See all results