The Design, Implementation and Evaluation of a Pluggable Type Checker for Thread-Locality in Java
2011 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesis
Abstract [en]
This thesis presents a simple type system for expressing thread-locality in Java. Classes and types are annotated to express thread-locality and violations, where supposedly thread-local data may be shared between two or more threads, are detected at compile-time. The proposed system is an improvement over Loci, a minimal and modular type checker for expressing thread-locality in Java due to Wrigstad et al.
The improved Loci system presented in this thesis only adds an additional metadata annotation, four in total. We implemented the system as a command line tool that can be plugged into the standard javac compiler and used it to evaluate our design on a number of benchmarks.
We believe that Loci is compatible with how Java programs are written and that the improved system keeps the annotation overhead light while making it even simpler to treat a value as thread-local.
Place, publisher, year, edition, pages
2011.
Series
IT ; 11 024
Identifiers
URN: urn:nbn:se:uu:diva-155786OAI: oai:DiVA.org:uu-155786DiVA, id: diva2:428159
Educational program
Master Programme in Computer Science
Uppsok
Technology
Supervisors
Examiners
2011-06-292011-06-292011-06-29Bibliographically approved