Blogs (1) >>
ICSE 2019
Sat 25 - Fri 31 May 2019 Montreal, QC, Canada
Fri 31 May 2019 11:00 - 11:20 at St-Denis / Notre-Dame - Concurrency Chair(s): Tuba Yavuz

Streaming APIs are becoming more pervasive in mainstream Object-Oriented programming languages. For example, the Stream API introduced in Java 8 allows for functional-like, MapReduce-style operations in processing both finite and infinite data structures. However, using this API efficiently involves subtle considerations like determining when it is best for stream operations to run in parallel, when running operations in parallel can be less efficient, and when it is safe to run in parallel due to possible lambda expression side-effects. In this paper, we present an automated refactoring approach that assists developers in writing efficient stream code in a semantics-preserving fashion. The approach, based on a novel data ordering and typestate analysis, consists of preconditions for automatically determining when it is safe and possibly advantageous to convert sequential streams to parallel and unorder or de-parallelize already parallel streams. The approach was implemented as a plug-in to the Eclipse IDE, uses the WALA and SAFE analysis frameworks, and was evaluated on 11 Java projects consisting of ~642 thousand lines of code. We found that 36.31% of candidate streams were refactorable, and an average speedup of 3.49 on performance tests was observed. The results indicate that the approach is useful in optimizing stream code to their full potential.

Fri 31 May

icse-2019-Paper-Presentations
11:00 - 12:30: Papers - Concurrency at St-Denis / Notre-Dame
Chair(s): Tuba YavuzUniversity of Florida
icse-2019-Technical-Papers11:00 - 11:20
Talk
Raffi KhatchadourianCity University of New York (CUNY) Hunter College, Yiming TangCity University of New York (CUNY) Graduate Center, Mehdi BagherzadehOakland University, Syed AhmedOakland University
Pre-print Media Attached
icse-2019-Technical-Papers11:20 - 11:40
Talk
Xiaoning ChangInstitute of Software, Chinese Academy of Sciences, Wensheng DouInstitute of Software, Chinese Academy of Sciences, Yu GaoInstitute of Software, Chinese Academy of Sciences, China, Jie WangInstitute of Software, Chinese Academy of Sciences, Jun WeiInstitute of Software, Chinese Academy of Sciences, China, Tao HuangInstitute of Software Chinese Academy of Sciences
icse-2019-Technical-Papers11:40 - 12:00
Talk
Liangze YinNational University of Defense Technology, Wei Dong, Wanwei LiuNational University of Defense Technology, Ji Wang
icse-2019-Demonstrations12:00 - 12:20
Talk
Yanze Li, Bozhen LiuTexas A&M University, USA, Jeff HuangTexas A&M University
icse-2019-Paper-Presentations12:20 - 12:30
Talk