Paper record
W2103957752A parameterized type system for race-free Java programs
Chandrasekhar Boyapati, Martin Rinard
- Year
- 2001
- Venue
- Conference on Object-Oriented Programming Systems, Languages, and Applications
- References
- 40
- Cited by
- 352
Details and counts from OpenAlex.
Abstract
... 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 dierent objects of the same class that have different protection mechanisms. This flexibility enables programmers to reduce the number of unnecessary synchronization operations in a program 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.