Naučno-tehničeskij Vestnik Informacionnyh Tehnologij, Mehaniki i Optiki (Mar 2019)

PROGRAM CODE OPTIMIZATION OF RELACY RACE DETECTOR LIBRARY

  • O. V. Doronin,
  • K. I. Dergun,
  • A. M. Dergachev,
  • A. O. Klyuchev

DOI
https://doi.org/10.17586/2226-1494-2019-19-2-380-385
Journal volume & issue
Vol. 19, no. 2
pp. 380 – 386

Abstract

Read online

The paper presents the results of Relacy Race Detector (RRD) library research as applied to the problem of multithreaded code testing. The study revealed several shortcomings of the RRD library. They are: a static number of threads, complex project structure, errors in implementation and lack of support for snapshots. The work has corrected the shortcomings described above and presented a new approach for the atomic snapshot of multiple threads using fork and fiber mechanisms. With the application of these results and implemented changes it is now easier to use the RRD library for multithreaded applications testing.

Keywords