Back to search

Hong Kong University of Science and Technology

Towards effective regression testing of concurrent programs

Abstract

dc:description

<p>Rapid advances in multi-core chip technology have lead to pervasive adoption of shared-memory concurrent programming, where software is jointly executed by multiple threads in a shared memory space. The inherent complexity of thread synchronization makes the evolution of concurrent programs error-prone, because code modification can affect how threads synchronize, which in turn can induce concurrent faults.</p> <p>Regression testing is an important activity performed to guard against faults introduced by code changes. It is often performed by re-executing those existing tests that run successfully before code modification. If these tests trigger an unexpected failure, developers know that the code modification has introduced a regression fault. However, this approach has two fundamental problems that make it inefficient and ineffective to expose regression faults: (1) Re-executing all the existing tests often requires long execution times, which can easily exceed the affordable time budget. (2) Existing tests might not be adequate to expose regression faults - in this case developers have to write additional tests, which is costly and labor intensive. This situation is aggravated for concurrent programs whose executions have non-deterministic behaviours, depending on the manifested thread interleavings.</p> <p>To address these problems, in this thesis, we propose first a technique to reduce the execution times of regression testing concurrent programs by exploring only those interleavings that could reveal regression faults. Further, we propose a technique to alleviate the developers&#039;s burden of writing new concurrent tests manually. We also present a combination of these two techniques to generate effective tests and oracles that expose and detect regression faults in concurrent programs.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Terragni, Valerio

Subjects

dc:subject × 3

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Terragni, Valerio. Towards effective regression testing of concurrent programs. 2017. http://repository.hkust.edu.hk/ir/Record/1783.1-97091