Concurrencer: a tool for retrofitting concurrency into sequential Java applications via concurrent libraries
Name
Dig-2009-Concurrencer a Tool for Retrofitting Concurrency into Sequential Java Applications via Concurrent Libraries.pdf
Size
105.44 KB
Format
Adobe PDF
Checksum (MD5)
01f2ca6102ca45422ea3a651127f156c
Author(s) • •
Dig, Danny
Marrero, John J.
Ernst, Michael D.
Date Issued
June 2009
Journal
31st International Conference on Software Engineering companion volume, 2009
Publisher
Institute of Electrical and Electronics Engineers
Citation
Dig, Danny, Marrero, John J., and Ernst, Michael D. (2009). Concurrencer: a tool for retrofitting concurrency into sequential Java applications via concurrent libraries. 31st International Conference on Software Engineering companion volume, 2009 (Piscataway, N.J.: IEEE): 399-400. © 2009 IEEE
Version
Final published version
Abstract
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.
MIT Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
Terms of Use
Article is made available in accordance with the publisher's policy and may be subject to US copyright law. Please refer to the publisher's site for terms of use.
Persistent DSpace Link
DOI of Published Version
https://doi.org/10.1109/ICSE-COMPANION.2009.5071031