Hunting Garbage Collection Related Concurrency Bugs through Critical Condition Restoration

7Citations
Citations of this article
4Readers
Mendeley users who have this article in their library.
Get full text

Abstract

With the increasing popularity of multi-core processors and multi-thread languages/frameworks, race conditions-which are non-deterministic by nature-are becoming a main root cause for concurrency bugs. It opens doors to malicious attacks such as remote code execution and denial of service attacks, potentially putting millions of users in danger. Yet, such non-deterministic racing conditions are often difficult to identify or reproduce in standard program testing. In this paper, we focus on the Garbage-Collection (GC) feature, which is known to be a frequent victim of concurrency bugs in many software systems. We develop a new approach to facilitate the testing of GC-related bugs through critical condition restoration. In particular, we propose a risk-score mechanism to quantify the risk of GC-related bugs in target functions and leverage the score to select appropriate testing parameters and garbage generation strategy, with a higher chance of producing the critical condition. Our experimental results show that the proposed approach could significantly improve the probability of finding GC-related bugs (from 0 in condition-oblivious testing to 14.8 bugs identified in our experiment) while incurring only around 26% execution overhead.

Author supplied keywords

Cite

CITATION STYLE

APA

Zhou, H., Lan, T., & Venkataramani, G. (2020). Hunting Garbage Collection Related Concurrency Bugs through Critical Condition Restoration. In FEAST 2020 - Proceedings of the 2020 ACM Workshop on Forming an Ecosystem Around Software Transformation (pp. 17–22). Association for Computing Machinery, Inc. https://doi.org/10.1145/3411502.3418426

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free