Skip to content

data race in BM_ThreadYieldSpinLockThrashing  #1098

@esigo

Description

@esigo

Describe your environment Describe any aspect of your environment relevant to the problem,
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.
bazel test --copt=-DENABLE_METRICS_PREVIEW --copt=-DENABLE_LOGS_PREVIEW --test_output=errors --cache_test_results=no --config=tsan //api/test/common:spinlock_benchmark_smoketest
What is the expected behavior?
no race
What did you expect to see?
no race
What is the actual behavior?
What did you see instead?
a data race
Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions