Execution privatization for scheduler-oblivious concurrent programs Conference Paper uri icon

abstract

  • Making multithreaded execution less non-deterministic is a promising solution to address the difficulty of concurrent programming plagued by the non-deterministic thread scheduling. In fact, a vast category of concurrent programs are scheduler-oblivious: their execution is deterministic, regardless of the scheduling behavior. We present and formally prove a fundamental observation of the privatizability property for scheduler-oblivious programs, that paves the theoretical foundation for privatizing shared data accesses on a path segment. With privatization, the non-deterministic thread interleavings on the privatized accesses are isolated and as the consequence many concurrency problems are alleviated. We further present a path and context sensitive privatization algorithm that safely privatizes the program without introducing any additional program behavior. Our evaluation results show that the privatization opportunity pervasively exists in real world large complex concurrent systems. Through privatization, several real concurrency bugs are fixed and notable performance improvements are also achieved on benchmarks.

name of conference

  • Proceedings of the ACM international conference on Object oriented programming systems languages and applications

published proceedings

  • ACM SIGPLAN Notices

author list (cited authors)

  • Huang, J., & Zhang, C.

citation count

  • 8

complete list of authors

  • Huang, Jeff||Zhang, Charles

publication date

  • January 2012