Title of article
Dynamic inference of polymorphic lock types
Author/Authors
James Rose، نويسنده , , Nikhil Swamy، نويسنده , , Michael Hicks، نويسنده ,
Issue Information
دوهفته نامه با شماره پیاپی سال 2005
Pages
18
From page
366
To page
383
Abstract
We present FindLocks, an approach for automatically proving the absence of data races in multi-threaded Java programs, using a combination of dynamic and static analysis. The program in question is instrumented so that when executed it will gather information about locking relationships. This information is then used to automatically generate annotations needed to type check the program using the Race-Free Java type system. Programs that type check are sure to be free from races. We call this technique dynamic annotation inference. We describe the design and implementation of our approach, and our experience applying the tool to a variety of Java programs. We have found that when using a reasonably comprehensive test suite, which is easy for small programs but harder for larger ones, the approach generates useful annotations.
Keywords
Dynamic analysis , Type inference , Java , Multithreading , Data races
Journal title
Science of Computer Programming
Serial Year
2005
Journal title
Science of Computer Programming
Record number
1079828
Link To Document