Towards Safe Refactoring for Intelligent Parallelization of Java 8 Streams
Title | Towards Safe Refactoring for Intelligent Parallelization of Java 8 Streams |
Publication Type | Conference Paper |
Year of Publication | 2018 |
Authors | Tang, Yiming, Khatchadourian, Raffi, Bagherzadeh, Mehdi, Ahmed, Syed |
Conference Name | Proceedings of the 40th International Conference on Software Engineering: Companion Proceeedings |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-5663-3 |
Keywords | Collaboration, Human Behavior, human factors, Java 8, Metrics, parallelization, policy-based governance, pubcrawl, Refactoring, resilience, Resiliency, Safe Coding, streams, typestate analysis |
Abstract | The Java 8 Stream API sets forth a promising new programming model that incorporates functional-like, MapReduce-style features into a mainstream programming language. However, using streams correctly and efficiently may involve subtle considerations. In this poster, we present our ongoing work and preliminary results towards an automated refactoring approach that assists developers in writing optimal stream code. The approach, based on ordering and typestate analysis, determines when it is safe and advantageous to convert streams to parallel and optimize parallel streams. |
URL | https://dl.acm.org/citation.cfm?doid=3183440.3195098 |
DOI | 10.1145/3183440.3195098 |
Citation Key | tang_towards_2018 |