首页> 外文会议>Software Engineering - Companion Volume, 2009. ICSE-Companion 2009 >Concurrencer: A tool for retrofitting concurrency into sequential java applications via concurrent libraries
【24h】

Concurrencer: A tool for retrofitting concurrency into sequential java applications via concurrent libraries

机译:Concurrencer:通过并发库将并发改造为顺序Java应用程序的工具

获取原文

摘要

Parallelizing existing sequential programs to run efficiently on multicores is hard. The Java 5 package java.util.concurrent (j.u.c.) supports writing concurrent programs. To use this package, programmers still need to refactor existing code. This is tedious, error-prone, and omission-prone. This demo presents our tool, CONCURRENCER, which enables programmers to refactor sequential code into parallel code that uses j.u.c. concurrent utilities. CONCURRENCER does not require any program annotations, although the transformations span several, non-adjacent, program statements and use custom program analysis. A find-and-replace tool can not perform such transformations. Empirical evaluation shows that CONCURRENCER refactors code effectively: CONCURRENCER correctly identifies and applies transformations that some open-source developers overlooked, and the converted code exhibits good speedup.
机译:要使现有的顺序程序并行化以在多核上高效运行是很难的。 Java 5包java.util.concurrent(j.u.c.)支持编写并发程序。要使用此软件包,程序员仍然需要重构现有代码。这是乏味,容易出错和容易遗漏的。该演示演示了我们的工具CONCURRENCER,它使程序员能够将顺序代码重构为使用j.u.c的并行代码。并发实用程序。尽管转换跨越多个不相邻的程序语句并使用自定义程序分析,但CONCURRENCER不需要任何程序注释。查找和替换工具无法执行此类转换。实证评估表明,CONCURRENCER有效地重构了代码:CONCURRENCER正确地识别并应用了一些开源开发人员忽略的转换,并且转换后的代码具有良好的加速性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号