ACM Home Page
Please provide us with feedback. Feedback
On-the-fly detection of access anomalies
Full text PdfPdf (1.26 MB)
Source ACM SIGPLAN Notices archive
Volume 24 ,  Issue 7  (July 1989) table of contents
Proceedings of the SIGPLAN '87 symposium on Interpreters and interpretive techniques
Pages: 285 - 297  
Year of Publication: 1989
ISSN:0362-1340
Also published in ...
Author
D. Schonberg  Ultracomputer Research Laboratory, New York University, 251 Mercer St., New York, NY
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 7,   Downloads (12 Months): 31,   Citation Count: 33
Additional Information:

abstract   references   cited by   index terms  

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/74818.74844
What is a DOI?

ABSTRACT

Access anomalies are a common class of bugs in shared-memory parallel programs. An access anomaly occurs when two concurrent execution threads both write (or one thread reads and the other writes) the same shared memory location without coordination. Approaches to the detection of access anomalies include static analysis, post-mortem trace analysis, and on-the-fly monitoring. A general on-the-fly algorithm for access anomaly detection is presented, which can be applied to programs with both nested fork-join and synchronization operations. The advantage of on-the-fly detection over post-mortem analysis is that the amount of storage used can be greatly reduced by data compression techniques and by discarding information as soon as it becomes obsolete. In the algorithm presented, the amount of storage required at any time depends only on the number V of shared variables being monitored and the number N of threads, not on the number of synchronizations. Data compression is achieved by the use of two techniques called merging and subtraction. Upper bounds on storage are shown to be V × N2 for merging and V × N for subtraction.


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.

 
All
T.R. Allen, D.A. Padua, "Debugging Fortran on a Shared Memory Machine", Proe. International Conf. on Parallel Processing, August 1987, pp. 721-727.
 
App
Bau
Bur
 
Car
 
DOD
Department of Defense, Reference Manual for the Ada Programming Language, ANSi/MIL-STD-1815 A, 1983.
Emr
 
Fr
P. Frankl, Private Communication, Sept, I988.
 
LeB
Mil
 
Nud1
I. Nudler, L. Rudolph, "Tools for the Efficient Development of Efficient Parallel Programs", First Israeli Conference on Computer Systems Engineering, May 1986.
 
Nud2
i. Nudler, L. Rudolph, "indeterminacy Considered Harmful",
 
Sni
M. Snir, Private Communications, March 1988.
Tay

CITED BY  33