首页> 外文会议>Euro-par 2009 parallel processing >XJava: Exploiting Parallelism with Object-Oriented Stream Programming
【24h】

XJava: Exploiting Parallelism with Object-Oriented Stream Programming

机译:XJava:通过面向对象的流编程来开发并​​行性

获取原文
获取原文并翻译 | 示例

摘要

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.rnWe 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.
机译:本文介绍了用于并行程序的XJava编译器。它利用基于面向对象的流编程范例的并行性。 XJava用新的并行构造扩展了Java,这些构造不会使程序员在共享内存机器上暴露于并行编程的底层细节。任务定义了可组合的并行活动,新的运算符使并行模式的表达更加容易,例如管道,划分和征服或主/工作人员。我们还提出了一种自动运行时机制,该机制扩展了我们以前的工作,以自动将任务和并行语句映射到线程。我们使用开源桌面搜索应用程序和一套基准程序进行了一些案例研究。结果表明,XJava减少了引入同步错误的机会。与线程Java相比,代码量最多可以减少39%。运行时机制帮助减少了性能调整的工作量,并在八核计算机上实现了高达31.5的加速。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号