Sciweavers

HVC
2005
Springer

Choosing Among Alternative Futures

13 years 9 months ago
Choosing Among Alternative Futures
Non-determinism is a serious impediment to testing and debugging concurrent programs. Such programs do not execute the same way each time they are run, which can hide the presence of errors. Existing techniques use a variety of mechanisms that attempt to increase the probability of uncovering error conditions by altering the execution sequence of a concurrent program, but do not test for specific errors. This paper presents some preliminary work in deterministically executing a multithreaded program using a combination of an intermediate compiler form that identifies the set of writes of a shared variable by other threads are visible at a given read of that variable and aspect-oriented programming to control program execution. Specifically, the aspects allow a read of a shared variable to return any of the reaching definitions, where the desired definition can be selected before the program is run. As a result, we can deterministically run test cases. This work is preliminary and ...
Steve MacDonald, Jun Chen, Diego Novillo
Added 27 Jun 2010
Updated 27 Jun 2010
Type Conference
Year 2005
Where HVC
Authors Steve MacDonald, Jun Chen, Diego Novillo
Comments (0)