skip to main content
10.1145/2892208.2897144acmconferencesArticle/Chapter ViewAbstractPublication PagesccConference Proceedingsconference-collections
research-article

Improved MHP Analysis

Published:17 March 2016Publication History

ABSTRACT

May-Happen-in-Parallel (MHP) analysis is becoming the backbone of many of the parallel analyses and optimizations. In this paper, we present new approaches to do MHP analysis for X10-like languages that support async-finish-atomic parallelism. We present a fast incremental MHP algorithm to derive all the statements that may run in parallel with a given statement. We also extend the MHP algorithm of Agarwal et al. (answers if two given X10 statements may run in parallel, and under what condition) to improve the computational complexity, without compromising on the precision.

References

  1. A GARWAL, S., B ARIK, R., S ARKAR, V., AND S HYAMASUNDAR, R. 2007. May-happen-in-parallel analysis of X10 programs. In Proceedings of PPoPP. 183–193. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. A LBERT, E., F LORES -M ONTOYA, A., G ENAIM, S., AND M ARTIN - M ARTIN, E. 2013. Termination and cost analysis of loops with concurrent interleavings. In ATVA. 349–364.Google ScholarGoogle Scholar
  3. A LSTRUP, S., T HORUP, M., G ØRTZ, I. L., R AUHE, T., AND Z WICK, U. 2014. Union-find with constant time deletions. ACM Transactions on Algorithms, 6. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. B ARIK, R. 2005. Efficient Computation of May-Happen-in-Parallel Information for Concurrent Java Programs. In Proceedings of LCPC. 152–169. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. C HEN, C., H UO, W., AND F ENG, X. 2012. Making it practical and effective: fast and precise may-happen-in-parallel analysis. In Proceedings of PACT. 469–470. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. C ORMEN, T. T., L EISERSON, C. E., AND R IVEST, R. L. 1990. Introduction to algorithms. MIT Press, Cambridge, MA, USA. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. D UESTERWALD, E. AND S OFFA, M. 1991. Concurrency analysis in the presence of procedures using a data-flow framework. In Proceedings of the symposium on Testing, analysis, and verification. ACM, 36–48. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. F LORES -M ONTOYA, A., A LBERT, E., AND G ENAIM, S. 2013. May-Happen-in-Parallel Based Deadlock Analysis for Concurrent Objects. In Proceedings of FORTE. 273–288.Google ScholarGoogle Scholar
  9. G UO, Y., B ARIK, R., R AMAN, R., AND S ARKAR, V. 2009. Work-first and help-first scheduling policies for async-finish task parallelism. In Proceedings of IPDPS. IEEE Computer Society, 1–12. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. G UPTA, S. AND N ANDIVADA, V. K. 2015. IMSuite: A Benchmark Suite for Simulating Distributed Algorithms. Journal of Parallel and Distributed Computing 75, 0, 1 – 19.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. H ABANERO. 2009. Habanero Java. http://habanero.rice.edu/hj.Google ScholarGoogle Scholar
  12. K APLAN, H., S HAFRIR, N., AND T ARJAN, R. E. 2002. Union-find with deletions. In Proceedings of SODA. 19–28. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. K RINKE, J. 1998. Static slicing of threaded programs. In Proceedings of PASTE. ACM, New York, NY, USA, 35–42. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. L EE, J. K. AND P ALSBERG, J. 2010. Featherweight X10: a core calculus for async-finish parallelism. In Proceedings of SAS. 25–36.Google ScholarGoogle Scholar
  15. L EE, J. K., P ALSBERG, J., M AJUMDAR, R., AND H ONG, H. 2012.Google ScholarGoogle Scholar
  16. Efficient May Happen in Parallel Analysis for Async-Finish Parallelism. In Proceedings of SAS. 5–23.Google ScholarGoogle Scholar
  17. L IN, L. AND V ERBRUGGE, C. 2004. A Practical MHP Information Analysis for Concurrent Java Programs. In Proceedings of LCPC. 194– 208. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. M ASTICOLA, S. P. AND R YDER, B. G. 1991. A model of Ada programs for static deadlock detection in polynomial times. In workshop on Parallel and distributed debugging. ACM, 97–107. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. M ASTICOLA, S. P. AND R YDER, B. G. 1993. Non-concurrency analysis. In Proceedings PPoPP. ACM, New York, NY, USA, 129–138. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. M UCHNICK, S. S. 1997. Advanced Compiler Design and Implementation. Morgan Kaufmann. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. N ANDIVADA, V. K., S HIRAKO, J., Z HAO, J., AND S ARKAR, V. 2013.Google ScholarGoogle Scholar
  22. A Transformation Framework for Optimizing Task-Parallel Programs. ACM Trans. Program. Lang. Syst. 35, 1, 3:1–3:48. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. N AUMOVICH, G., A VRUIN, G. S., AND C LARKE, L. A. 1998. Data Flow Analysis for Checking Properties of Concurrent Java Programs. Tech. rep., Amherst, MA, USA. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. N AUMOVICH, G. AND A VRUNIN, G. S. 1998. A conservative data flow algorithm for detecting all pairs of statements that may happen in parallel. In Proceedings of FSE. 24–34. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. N AUMOVICH, G., A VRUNIN, G. S., AND C LARKE, L. A. 1999. An efficient algorithm for computing MHP information for concurrent Java programs. In Proceedings of ESEC/FSE. 338–354. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. S ARASWAT, V., B ARD, B., I GOR, P., T ARDIEU, O., AND G ROVE, D. 2012. X10 Language Specification Version 2.3. Tech. rep., IBM.Google ScholarGoogle Scholar
  27. S CHIEBER, B. AND V ISHKIN, U. 1988. On finding lowest common ancestors: simplification and parallelization. SIAM J. Comput. 17, 6, 1253–1262. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Improved MHP Analysis

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      CC 2016: Proceedings of the 25th International Conference on Compiler Construction
      March 2016
      270 pages
      ISBN:9781450342414
      DOI:10.1145/2892208
      • General Chair:
      • Ayal Zaks,
      • Program Chair:
      • Manuel Hermenegildo

      Copyright © 2016 ACM

      © 2016 Association for Computing Machinery. ACM acknowledges that this contribution was authored or co-authored by an employee, contractor or affiliate of a national government. As such, the Government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for Government purposes only.

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 17 March 2016

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader