Skip to main content

Detecting First Races in Shared-Memory Parallel Programs with Random Synchronization

  • Conference paper
Computer Applications for Graphics, Grid Computing, and Industrial Environment (CGAG 2012, GDC 2012, IESH 2012)

Abstract

Detecting data races is a hard problem when debugging shared memory parallel programs, because the races could exhibit unpredictable results in execution of programs. It is even harder for programmers to decide whether or how the reported data races can appear in the actual program executions. Previous techniques for detecting races cannot provide method to discover first races in parallel programs with random synchronization. We present an algorithm, in this paper, which extracts first races to occur by comparing the concurrency of the traced information with the candidate accesses which are from a particular execution of parallel programs.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Lamport, L.: Time, Clocks, and the Ordering of Events in a Distributed System. Communications of the ACM, 558–565 (July 1978)

    Google Scholar 

  2. Dinning, A., Schonberg, E.: An Empirical Comparison of Monitoring Algorithms for Access Anomaly Detection. In: 2nd Symp. on Principles and Practice of Parallel Programming, pp. 1–10. ACM (March 1990)

    Google Scholar 

  3. Netzer, R.H.B., Miller, B.P.: Improving the Accuracy of Data Race Detection. In: 3rd Symp. on Principles and Practice of Parallel Programming, pp. 133–144. ACM (April 1991)

    Google Scholar 

  4. Jun, Y., McDowell, C.E.: On-the-fly Detection of the First Races in Programs with Nested Parallelism. In: 2nd Int’l Conf. on Parallel and Distributed Processing Techniques and Applications, CSREA, pp. 1549–1560 (August 1996)

    Google Scholar 

  5. Kim, J., Jun, Y.: Scalable On-the-fly Detection of the First Races in Parallel Programs. In: Proc. of the 12nd Int’l Conf. on Supercomputing, pp. 345–352. ACM (July 1998)

    Google Scholar 

  6. Park, H., Jun, Y.: Detecting the Firtst Races in Parallel Programs with Ordered Synchronization. In: 6th Int’l Conference on Parallel and Distributed Systems (ICPADS), pp. 201–208. IEEE, Tainan (1998)

    Google Scholar 

  7. Ronsse, M., De Bosschere, K.: RecPlay: A Fully Integrated Practical Record/Replay System. Transacsion on Computer Systems 17(2), 133–152 (1999)

    Article  Google Scholar 

  8. POSIX Standard, http://www.unix.org/version3/ieee_std.html

  9. Banerjee, U., Bliss, B., Ma, Z., Petersen, P.: A Theory of Data Race Detection. In: Proceedings of the 2006 Workshop on PADTAD, pp. 69–78. ACM (2006)

    Google Scholar 

  10. Ha, O., Jun, Y.: Monitoring of Programs with Nested Parallelism using Efficient Thread Labeling. International Journal of u - and e - Service, Science and Technology (IJUNESST) 4(1), 21–36 (2011)

    Google Scholar 

  11. Park, H., Jun, Y.: Detecting Accesses of First Data Races in Parallel Programs with Random Synchronization. In: Proceedings International Conference, SoftTech 2012, pp. 208–210 (May 2012)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Park, HD., Jun, YK. (2012). Detecting First Races in Shared-Memory Parallel Programs with Random Synchronization. In: Kim, Th., Cho, Hs., Gervasi, O., Yau, S.S. (eds) Computer Applications for Graphics, Grid Computing, and Industrial Environment. CGAG GDC IESH 2012 2012 2012. Communications in Computer and Information Science, vol 351. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35600-1_24

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-35600-1_24

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-35599-8

  • Online ISBN: 978-3-642-35600-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics