XJava: Exploiting Parallelism with Object-Oriented Stream Programming

  • Frank Otto
  • Victor Pankratius
  • Walter F. Tichy
Conference paper

DOI: 10.1007/978-3-642-03869-3_81

Part of the Lecture Notes in Computer Science book series (LNCS, volume 5704)
Cite this paper as:
Otto F., Pankratius V., Tichy W.F. (2009) XJava: Exploiting Parallelism with Object-Oriented Stream Programming. In: Sips H., Epema D., Lin HX. (eds) Euro-Par 2009 Parallel Processing. Euro-Par 2009. Lecture Notes in Computer Science, vol 5704. Springer, Berlin, Heidelberg

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.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2009

Authors and Affiliations

  • Frank Otto
    • 1
  • Victor Pankratius
    • 1
  • Walter F. Tichy
    • 1
  1. 1.University of KarlsruheKarlsruheGermany

Personalised recommendations