作者: Cormac Flanagan , Stephen N. Freund
关键词: Scala 、 Java annotation 、 Instruction-level parallelism 、 Real time Java 、 Java 、 strictfp 、 Generics in Java 、 Register allocation 、 Source lines of code 、 Computer science 、 Interface (Java) 、 Programming language 、 Java concurrency 、 Java Modeling Language
摘要: This paper presents a static race detection analysis for multithreaded Java programs. Our is based on formal type system that capable of capturing many common synchronization patterns. These patterns include classes with internal synchronization, thatrequire client-side and thread-local classes. Experience checking over 40,000 lines code the demonstrates it an effective approach eliminating races conditions. On large examples, fewer than 20 additional annotations per 1000 were required by checker, we found number in standard libraries other test