Effective Techniques for Static Race Detection in Java Parallel Loops Journal Article uri icon

Overview

abstract

  • Despite significant progress in recent years, the important problem of static race detection remains open. Previous techniques took a general approach and looked for races by analyzing the effects induced by low-level concurrency constructs (e.g., java.lang.Thread). But constructs and libraries for expressing parallelism at a higher level (e.g., fork-join, futures, parallel loops) are becoming available in all major programming languages. We claim that specializing an analysis to take advantage of the extra semantic information provided by the use of these constructs and libraries improves precision and scalability.; ; We present I; te; R; ace; , a set of techniques that are specialized to use the intrinsic thread, safety, and dataflow structure of collections and of the new loop parallelism mechanism introduced in Java 8. Our evaluation shows that I; te; R; ace; is fast and precise enough to be practical. It scales to programs of hundreds of thousands of lines of code and reports very few race warnings, thus avoiding a common pitfall of static analyses. In five out of the seven case studies, I; te; R; ace; reported no false warnings. Also, it revealed six bugs in real-world applications. We reported four of them: one had already been fixed, and three were new and the developers confirmed and fixed them.; ; Furthermore, we evaluate the effect of each specialization technique on the running time and precision of the analysis. For each application, we run the analysis under 32 different configurations. This allows to analyze each technique's effect both alone and in all possible combinations with other techniques.

publication date

  • September 2, 2015

has restriction

  • closed

Date in CU Experts

  • November 16, 2020 1:03 AM

Full Author List

  • Radoi C; Dig D

author count

  • 2

Other Profiles

International Standard Serial Number (ISSN)

  • 1049-331X

Electronic International Standard Serial Number (EISSN)

  • 1557-7392

Additional Document Info

start page

  • 1

end page

  • 30

volume

  • 24

issue

  • 4