• Home
  • Search
  • ThreadMonitor : Low‐Overhead Data Race Detection Using Intel Processor Trace
  • https://doi.org/10.1002/cpe.70517Copy DOI Icon

ThreadMonitor : Low‐Overhead Data Race Detection Using Intel Processor Trace

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

ABSTRACT Data races are among the most difficult multithreading bugs to find, due to their non‐deterministic nature. This and the increasing popularity of multithreaded programming have led to the need for practical automated data race detection. In this context, dynamic data race detectors have received more attention, compared to static tools, owing to their higher accuracy and scalability. Yet, state‐of‐the‐art dynamic data race detectors cannot be used in many real‐world testing scenarios, since they cause significant slowdown and memory overhead. Notably, ThreadSanitizer (TSan), the default dynamic data race detector in both clang and gcc compilers, is reported to typically impose a – slowdown and a – memory overhead, which is not tolerable in many industrial use cases. To address this issue, this paper introduces ThreadMonitor (TMon), a low‐overhead postmortem data race detector for multithreaded C/C++ programs that use the Pthread library. At runtime, TMon traces the information required for detecting occurrences of data races (i.e., shared memory accesses and timing constraints among threads) using Intel Processor Trace (Intel PT), a non‐intrusive hardware feature dedicated to tracing software execution. Thereafter, its postmortem analyzer examines the collected trace data to determine whether the traced program execution exhibited data races, performing a verification similar to that carried out by TSan at runtime. Introducing algorithmic improvements in its postmortem analyzer, TMon can further achieve a higher data race detection coverage compared to TSan. TMon has no direct data memory overhead, incurs minimal instruction memory overhead, and causes a very small slowdown, making it an ideal choice in test environments with limited resources.

Similar Papers
  • Research Article
  • Citations1

Hybrid Data Race Detection for Multicore Software

  • Jan 01, 2018
  • Computing and Informatics
  • Alper Sen +1
  • Conference Article
  • Citations2

Detecting Data Race in Network Applications using Static Analysis

  • Oct 01, 2019
  • Dongsheng Qi +2
  • Book Chapter

XGBoost Dynamic Detection for Data Race in Multithreaded Programs

  • Jan 01, 2022
  • Jiaze Sun +2
  • Conference Article
  • Citations4

A Study on the Efficiency Aspect of Data Race Detection: A Compiler Optimization Level Perspective

  • Jul 01, 2013
  • Changjiang Jia +1
  • Research Article
  • Citations24

Automated Classification of Data Races Under Both Strong and Weak Memory Models

  • May 22, 2015
  • ACM Transactions on Programming Languages and Systems
  • Baris Kasikci +2
  • Research Article
  • Citations1

Techniques for Detection, Root Cause Diagnosis, and Classification of In-Production Concurrency Bugs

  • Jan 01, 2015
  • Infoscience (Ecole Polytechnique Fédérale de Lausanne)
  • Baris Kasikci
  • Research Article
  • Citations3

RaceTest: harmful data race detection based on testing technology in WS-BPEL

  • Jun 01, 2019
  • Service Oriented Computing and Applications
  • Zhijun Ding +1
  • Research Article
  • Citations2

Decoupling Appearance Variations with 3D Consistent Features in Gaussian Splatting

  • Apr 11, 2025
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Jiaqi Lin +8
  • Conference Article
  • Citations2

Simplifying Concurrent Programming of Networked Embedded Systems

  • Dec 01, 2008
  • Meysam Khezri +2
  • Conference Article
  • Citations3

PUSh

  • Oct 12, 2019
  • Diyu Zhou +1
  • Book Chapter
  • Citations5

Maintaining concurrency information for on-the-fly data race detection

  • Jan 01, 1998
  • Advances in Parallel Computing
  • Katrien Audenaert
  • Conference Article
  • Citations2

Efficient Rendering of Extrudable Curvilinear Volumes

  • Mar 01, 2008
  • Steven Martin +2
  • Book Chapter

ChaffyScript: Vulnerability-Agnostic Defense of JavaScript Exploits via Memory Perturbation

  • Jan 01, 2019
  • Lecture notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering
  • Xunchao Hu +2
  • Research Article

Real-Time On-Chip Time-of-Flight Detection for US Time Reversal Localization of Implants.

  • Jan 01, 2026
  • IEEE transactions on biomedical circuits and systems
  • Anirudh Kumar Parag +7
  • Research Article
  • Citations1

A Security-Enhanced Scheme for ModBus TCP Protocol Based on Lightweight Cryptographic Algorithm

  • Sep 17, 2025
  • Electronics
  • Xiang Le +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.