Tracing and its observer effect on concurrency
View / Open Files
Authors
Orton, I
Mycroft, A
Publication Date
2021Journal Title
MPLR 2021 - Proceedings of the 18th ACM SIGPLAN International Conference on Managed Programming Languages and Runtimes
Conference Name
MPLR '21: 18th ACM SIGPLAN International Conference on Managed Programming Languages and Runtimes
ISBN
9781450386753
Publisher
ACM
Pages
88-96
Type
Conference Object
This Version
VoR
Metadata
Show full item recordCitation
Orton, I., & Mycroft, A. (2021). Tracing and its observer effect on concurrency. MPLR 2021 - Proceedings of the 18th ACM SIGPLAN International Conference on Managed Programming Languages and Runtimes, 88-96. https://doi.org/10.1145/3475738.3480940
Abstract
Execution tracing has an observer effect: the act of tracing perturbs program behaviour via its overhead, which can in turn affect the accuracy of subsequent dynamic analysis. We investigate this observer effect in the context of concurrent behaviour within JVM-based programs. Concurrent behaviour is especially fragile as task-scheduling ordering can change, which could even lead to deadlock via thread starvation under certain conditions. We analyse three dimensions of overhead, compute volume, memory volume, and uniformity, using a configurable-overhead tracer and a concurrency-performance analyser. We argue that uniformity is a key, and underappreciated, dimension of overhead that can have qualitative effects on program behaviour. Experimental results show that overhead significantly affects real-world concurrent behaviour and subsequent analysis, at times unintuitively.
Keywords
Performance analysis and monitoring, Dynamic program analysis, Concurrency, Execution tracing
Embargo Lift Date
2100-01-01
Identifiers
External DOI: https://doi.org/10.1145/3475738.3480940
This record's URL: https://www.repository.cam.ac.uk/handle/1810/330546
Statistics
Total file downloads (since January 2020). For more information on metrics see the
IRUS guide.
Recommended or similar items
The current recommendation prototype on the Apollo Repository will be turned off on 03 February 2023. Although the pilot has been fruitful for both parties, the service provider IKVA is focusing on horizon scanning products and so the recommender service can no longer be supported. We recognise the importance of recommender services in supporting research discovery and are evaluating offerings from other service providers. If you would like to offer feedback on this decision please contact us on: support@repository.cam.ac.uk