کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
433629 1441774 2007 26 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Type inference against races
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Type inference against races
چکیده انگلیسی

The race condition checker rccjava uses a formal type system to statically identify potential race conditions in concurrent Java programs, but it requires programmer-supplied type annotations. This paper describes a type inference algorithm for rccjava. Due to the interaction of parameterized classes and dependent types, this type inference problem is NP-complete. This complexity result motivates our new approach to type inference, which is via reduction to propositional satisfiability. This paper describes our type inference algorithm and its performance on programs of up to 30,000 lines of code.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 64, Issue 1, 1 January 2007, Pages 140-165