Closed
Bug 1571355
Opened 5 years ago
Closed 5 years ago
Base Profiler mutex tweaks
Categories
(Core :: Gecko Profiler, task, P2)
Core
Gecko Profiler
Tracking
()
RESOLVED
FIXED
mozilla70
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: mozbugz, Assigned: mozbugz)
References
Details
Attachments
(1 file)
Some Base Profiler mutex&lock tweaks:
- Renamed
BPAutoLock
toBaseProfilerAutoLock
. - DEBUG-build
~BaseProfilerMutex()
checks that it is unlocked. - Prevent
BaseProfilerMutex
andBaseProfilerAutoLock
copies&moves. - DEBUG-build check that
Lock()
seesmOwningThreadId
==0 (because that is the initial value, and the value after a previousUnlock()
). - Don't preserve atomic
mOwningThreadId
in JS recording.
Assignee | ||
Comment 1•5 years ago
|
||
Renamed BPAutoLock
to BaseProfilerAutoLock
.
DEBUG-build ~BaseProfilerMutex()
checks that it is unlocked.
Prevent BaseProfilerMutex
and BaseProfilerAutoLock
copies&moves.
DEBUG-build check that Lock()
sees mOwningThreadId
==0 (because that is the
initial value, and the value after a previous Unlock()
).
Don't preserve atomic mOwningThreadId
in JS recording.
Depends on D40619
Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d15aca364d3d
Base Profiler mutex tweaks - r=gregtatum
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in
before you can comment on or make changes to this bug.
Description
•