A parameterized type system for race-free Java programs

Chandrasekhar Boyapati, Martin Rinard
2001 Proceedings of the 16th ACM SIGPLAN conference on Object oriented programming, systems, languages, and applications - OOPSLA '01  
This paper presents a new static type system for multithreaded programs; any well-typed program in our system is free of data races. Our type system is significantly more expressive than previous such type systems. In particular, our system lets programmers write generic code to implement a class, then create different objects of the same class that have different protection mechanisms. This flexibility enables programmers to reduce the number of unnecessary synchronization operations in a
more » ... am without risking data races. We also support default types which reduce the burden of writing the extra type annotations. Our experience indicates that our system provides a promising approach to make multithreaded programs more reliable and efficient.
doi:10.1145/504282.504287 dblp:conf/oopsla/BoyapatiR01 fatcat:c2zmy6aaozhb3nmj5ko7c2kpqq