Mosaad Al Thokair

dblp:339/2672 · DBLP profile ↗
← Back
2ranked-venue papers
1as first author
2since 2021 · last 2025
0000-0002-6832-0604ORCID · corroborated

Domains — the database's venue-derived domains; a paper can count in several

Software engineering, systems software and programming languages · 2 · 1 first-author · 2 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Software engineering, system software, and programming languages
2 papers
Concurrent programming · 100%
Theoretical computer science
2 papers
Algorithms and data structures · 36% Computational complexity · 36% Distributed computing theory · 28%

Topics — the 8 heaviest of 8, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Concurrent programming
concurrency bugs
1.522025
Efficient Timestamping for Sampling-Based Race Detection · Proc. ACM Program. Lang. 2025
Dynamic Race Detection with O(1) Samples · Proc. ACM Program. Lang. 2023
Concurrent programming › concurrency bug detection
data race detection
1.522025
Efficient Timestamping for Sampling-Based Race Detection · Proc. ACM Program. Lang. 2025
Dynamic Race Detection with O(1) Samples · Proc. ACM Program. Lang. 2023
Concurrent programming › concurrency bug detection › data race detection
sampling-based race detection
1.522025
Efficient Timestamping for Sampling-Based Race Detection · Proc. ACM Program. Lang. 2025
Dynamic Race Detection with O(1) Samples · Proc. ACM Program. Lang. 2023
Concurrent programming › concurrency bug detection › data race detection
dynamic race detection
0.712023
Dynamic Race Detection with O(1) Samples · Proc. ACM Program. Lang. 2023
Computational complexity
property testing
0.712023
Dynamic Race Detection with O(1) Samples · Proc. ACM Program. Lang. 2023
Algorithms and data structures
randomized algorithms
0.712023
Dynamic Race Detection with O(1) Samples · Proc. ACM Program. Lang. 2023
Distributed computing theory
timestamping
0.312025
Efficient Timestamping for Sampling-Based Race Detection · Proc. ACM Program. Lang. 2025
Distributed computing theory › logical clocks
vector clocks
0.312025
Efficient Timestamping for Sampling-Based Race Detection · Proc. ACM Program. Lang. 2025

Methods — techniques the papers use, named apart from their topics

vector clocks · 3.1random sampling · 1.7happens-before partial order · 1.7sampling · 1.3happens-before analysis · 1.3
YearPublicationVenuePosition
2025 Efficient Timestamping for Sampling-Based Race Detection
abstract
Dynamic race detection based on the happens before (HB) partial order has now become the de facto approach to quickly identify data races in multi-threaded software. Most practical implementations for detecting these races use timestamps to infer causality between events and detect races based on these timestamps. Such an algorithm updates timestamps (stored in vector clocks) at every event in the execution, and is known to induce excessive overhead. Random sampling has emerged as a promising algorithmic paradigm to offset this overhead. It offers the promise of making sound race detection scalable. In this work we consider the task of designing an efficient sampling based race detector with low overhead for timestamping when the number of sampled events is much smaller than the total events in an execution. To solve this problem, we propose (1) a new notion of freshness timestamp , (2) a new data structure to store timestamps, and (3) an algorithm that uses a combination of them to reduce the cost of timestamping in sampling based race detection. Further, we prove that our algorithm is close to optimal — the number of vector clock traversals is bounded by the number of sampled events and number of threads, and further, on any given dynamic execution, the cost of timestamping due to our algorithm is close to the amount of work any timestamping-based algorithm must perform on that execution, that is it is instance optimal. Our evaluation on real world benchmarks demonstrates the effectiveness of our proposed algorithm over prior timestamping algorithms that are agnostic to sampling.
Minjian Zhang 0002, Daniel Wee Soong Lim, Mosaad Al Thokair, Umang Mathur 0001, Mahesh Viswanathan 0001
Proc. ACM Program. Lang.3
2023 Dynamic Race Detection with O(1) Samples
abstract
Happens before-based dynamic analysis is the go-to technique for detecting data races in large scale software projects due to the absence of false positive reports. However, such analyses are expensive since they employ expensive vector clock updates at each event, rendering them usable only for in-house testing. In this paper, we present a sampling-based, randomized race detector that processes only constantly many events of the input trace even in the worst case. This is the first sub-linear time (i.e., running in o ( n ) time where n is the length of the trace) dynamic race detection algorithm; previous sampling based approaches like run in linear time (i.e., O ( n )). Our algorithm is a property tester for -race detection — it is sound in that it never reports any false positive, and on traces that are far, with respect to hamming distance, from any race-free trace, the algorithm detects an -race with high probability. Our experimental evaluation of the algorithm and its comparison with state-of-the-art deterministic and sampling based race detectors shows that the algorithm does indeed have significantly low running time, and detects races quite often.
Mosaad Al Thokair, Minjian Zhang 0002, Umang Mathur 0001, Mahesh Viswanathan 0001
Proc. ACM Program. Lang.1