ACM Home Page
Please provide us with feedback. Feedback
Digital Library logoTake a look at the new version of this page: [ beta version ]. Tell us what you think.
The code of many colors: relating threads to code and shared state
Full text PdfPdf (166 KB)
Source Workshop on Program Analysis for Software Tools and Engineering archive
Proceedings of the 2002 ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering table of contents
Charleston, South Carolina, USA
SESSION: Flow analysis table of contents
Pages: 77 - 83  
Year of Publication: 2002
ISBN:1-58113-479-7
Also published in ...
Authors
Dean F. Sutherland  Carnegie Mellon University, Pittsburgh, PA
Aaron Greenhouse  Carnegie Mellon University, Pittsburgh, PA
William L. Scherlis  Carnegie Mellon University, Pittsburgh, PA
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
SIGSOFT: ACM Special Interest Group on Software Engineering
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 8,   Downloads (12 Months): 53,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/586094.586109
What is a DOI?

ABSTRACT

We introduce a thread colors model as a way to express design intent concerning the relationships between threads, executable code, and shared state. By expressing the model as annotations in code, it is possible to formally link the model with source code and to analyze the consistency of model and code in a composable manner. By using annotations as cut-points, APIs can be annotated and compliance with library threading policies can be evaluated. This is illustrated using case study examples from published code that show how thread coloring models can assist in assuring policy compliance and in identifying concurrency errors.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
3
 
4
5
6
7
8
 
9
10
11
 
12
Bug id 4138730: Provide apis in awt for porting multi-threaded guis to a single-threaded model. http://developer.java.sun.com/developer/bugParade/index.jshtml, 1998.
 
13
Bug id 4143834: Swing thread implementation causes notifier to lock. http://developer.java.sun.com/developer/bugParade/index.jshtml, 1998.
 
14
G. T. Leavens, A. L. Baker, and C. Ruby. JML: A notation for detailed design. In H. Kilov, B. Rumpe, and I. Simmonds, editors, Behavioral Specifications of Businesses and Systems. Kluwer, 1999.
15
16
17
 
18
T. Perry. Blue panels with swing FIXED.http://lists.apple.com/mhonarc/java-dev/msg16355.html.


Collaborative Colleagues:
Dean F. Sutherland: colleagues
Aaron Greenhouse: colleagues
William L. Scherlis: colleagues