| The code of many colors: relating threads to code and shared state |
| Full text |
Pdf
(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
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 10, Downloads (12 Months): 43, Citation Count: 2
|
|
|
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
|
Cormac Flanagan , K. Rustan M. Leino , Mark Lillibridge , Greg Nelson , James B. Saxe , Raymie Stata, Extended static checking for Java, Proceedings of the ACM SIGPLAN 2002 Conference on Programming language design and implementation, June 17-19, 2002, Berlin, Germany
|
| |
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
|
Gleb Naumovich , George S. Avrunin , Lori A. Clarke, Data flow analysis for checking properties of concurrent Java programs, Proceedings of the 21st international conference on Software engineering, p.399-410, May 16-22, 1999, Los Angeles, California, United States
[doi> 10.1145/302405.302663]
|
 |
17
|
|
| |
18
|
T. Perry. Blue panels with swing FIXED.http://lists.apple.com/mhonarc/java-dev/msg16355.html.
|
|