I recently diagnosed the root cause of a concurrency bug, CR6822370,
and thought it sufficiently interesting to share the details. (CR 6822370 actually represents a
cluster of bugs that are now thought to be related by a common underlying issue).
Briefly, we have a lost wakeup bug in the native C++ Parker::park() platform-specific
infrastructure code that implements java.util.concurrent.LockSupport.park().
The lost wakeup arises from a race that itself arises because of architectural
reordering that in turn occurs because of missing memory barrier instructions.
The lost wakeup may manifest as various 'hangs' or instances of progress failure.
Program performance is always a concern, even in this era of high-performance hardware. This article, the first in a two-part series, guides you around the many pitfalls associated with benchmarking Java code. Part 2 covers the statistics of benchmarking and offers a framework for performing Java benchmarking. Because almost all new languages are virtual machine-based, the general principles the article describes have broad significance for the programming community at large.
T. Mytkowicz, A. Diwan, M. Hauswirth, und P. Sweeney. Proceedings of the 31st ACM SIGPLAN Conference on Programming Language Design and Implementation, Seite 187--197. ACM, (Juni 2010)
J. Roemer, K. Genc, und M. Bond. Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation, Seite 374--389. ACM, (2018)
M. Steindorfer, und J. Vinju. Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications, Seite 783--800. New York, NY, USA, ACM, (2015)
D. Costa, A. Andrzejak, J. Seboek, und D. Lo. Proceedings of the 8th ACM/SPEC on International Conference on Performance Engineering, Seite 389--400. New York, NY, USA, ACM, (2017)
S. Ryu, und N. Ramsey. Compiler Construction: 14th International Conference, CC 2005, Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2005, Edinburgh, UK, April 4-8, 2005. Proceedings, Seite 10--26. Springer, (2005)
S. Lauterburg, R. Karmani, D. Marinov, und G. Agha. Proceedings of the Eighteenth ACM SIGSOFT International Symposium on Foundations of Software Engineering, Seite 363--364. New York, NY, USA, ACM, (2010)
S. Lauterburg, M. Dotta, D. Marinov, und G. Agha. 2009 IEEE/ACM International Conference on Automated Software Engineering, Seite 468--479. (November 2009)
S. Biswas, M. Cao, M. Zhang, M. Bond, und B. Wood. Proceedings of the 26th International Conference on Compiler Construction, Seite 11--21. ACM, (2017)
B. Dufour, K. Driesen, L. Hendren, und C. Verbrugge. Proceedings of the 18th Annual ACM SIGPLAN Conference on Object-oriented Programing, Systems, Languages, and Applications, Seite 149--168. ACM, (2003)
P. Hofer, F. Hörschläger, und H. Mössenböck. Proceedings of the 6th ACM/SPEC International Conference on Performance Engineering, Seite 87--90. ACM, (2015)
Y. Hayduk, A. Sobe, und P. Felber. Distributed Applications and Interoperable Systems, Volume 9038 von Lecture Notes in Computer Science, Springer, (2015)
B. Claudel, Q. Sabah, und J. Stefani. Formal Techniques for Distributed Objects, Components, and Systems, Volume 9039 von Lecture Notes in Computer Science, Springer, (2015)
C. Häubl, C. Wimmer, und H. Mössenböck. Computer Languages, Systems & Structures, 39 (4):
123 - 141(2013)Special issue on the Programming Languages track at the 27th \ACM\ Symposium on Applied Computing.
P. Lengauer, V. Bitto, und H. Mössenböck. Proceedings of the 6th ACM/SPEC International Conference on Performance Engineering, Seite 51--62. ACM, (2015)
T. Würthinger, M. Van De Vanter, und D. Simon. Perspectives of Systems Informatics, Volume 5947 von Lecture Notes in Computer Science, Springer Berlin Heidelberg, (2010)
G. Pothier, \. Tanter, und J. Piquer. Proceedings of the 22Nd Annual ACM SIGPLAN Conference on Object-oriented Programming Systems and Applications, Seite 535--552. ACM, (2007)
A. Welc, S. Jagannathan, und A. Hosking. Proceedings of the 20th Annual ACM SIGPLAN Conference on Object-oriented Programming, Systems, Languages, and Applications, Seite 439--453. ACM, (2005)
J. Zhao, R. Lublinerman, Z. Budimlić, S. Chaudhuri, und V. Sarkar. Proceedings of the 2013 ACM SIGPLAN International Conference on Object Oriented Programming Systems Languages &\#38; Applications, Seite 571--588. ACM, (2013)
C. Wimmer, S. Brunthaler, P. Larsen, und M. Franz. Proceedings of the 11th Annual International Conference on Aspect-oriented Software Development, Seite 203--214. New York, NY, USA, ACM, (2012)
H. Inoue, H. Hayashizaki, P. Wu, und T. Nakatani. Proceedings of the ACM International Conference on Object Oriented Programming Systems Languages and Applications, Seite 179--194. New York, NY, USA, ACM, (2012)
A. Wöß, C. Wirth, D. Bonetta, C. Seaton, C. Humer, und H. Mössenböck. Proceedings of the 2014 International Conference on Principles and Practices of Programming on the Java Platform: Virtual Machines, Languages, and Tools, Seite 133--144. ACM, (2014)
M. Braux, und J. Noyé. Proceedings of the 2000 ACM SIGPLAN Workshop on Partial Evaluation and Semantics-based Program Manipulation, Seite 2--11. ACM, (1999)
M. De Wael, S. Marr, und T. Van Cutsem. Proceedings of the 2014 International Conference on Principles and Practices of Programming on the Java Platform: Virtual Machines, Languages, and Tools, Seite 39--50. (September 2014)(acceptance rate 39%).
X. Yang, S. Blackburn, D. Frampton, J. Sartor, und K. McKinley. Proceedings of the 2011 ACM International Conference on Object Oriented Programming Systems Languages and Applications, Seite 307--324. ACM, (2011)
A. Shali, und W. Cook. Proceedings of the 2011 ACM International Conference on Object Oriented Programming Systems Languages and Applications, Seite 375--390. ACM, (2011)
H. Masuhara, und A. Yonezawa. International Colloquium on Partial Evaluation and Program Transformation (PE Day'99), Seite 83--102. Waseda University, Tokyo, Japan, (November 1999)
M. Golm, und J. Kleinöder. Meta-Level Architectures and Reflection, Volume 1616 von Lecture Notes in Computer Science, Springer Berlin Heidelberg, (1999)
N. Beckman, D. Kim, und J. Aldrich. ECOOP 2011 – Object-Oriented Programming, Volume 6813 von Lecture Notes in Computer Science, Springer Berlin Heidelberg, (2011)