• Title of article

    Type inference against races

  • Author/Authors

    Cormac Flanagan، نويسنده , , Stephen N. Freund، نويسنده ,

  • Issue Information
    دوهفته نامه با شماره پیاپی سال 2007
  • Pages
    26
  • From page
    140
  • To page
    165
  • Abstract
    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.
  • Keywords
    Type systems , Type inference , Race conditions
  • Journal title
    Science of Computer Programming
  • Serial Year
    2007
  • Journal title
    Science of Computer Programming
  • Record number

    1079916