Remove unused ProfilerFeature::Threads
Categories
(Core :: Gecko Profiler, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox97 | --- | fixed |
People
(Reporter: mozbugz, Assigned: mozbugz)
References
(Regressed 1 open bug)
Details
Attachments
(2 files)
(Spawned from https://phabricator.services.mozilla.com/D124739#inline-688212 , thanks Florian.)
The help for ProfilerFeature::Threads aka "threads" is "Profile the registered secondary threads". I'm guessing that in the past, only the main thread would be profiled without this explicit feature.
Now this feature is not actually influencing anything anymore! So it should be removed to avoid confusion.
| Assignee | ||
Comment 1•3 years ago
|
||
This feature doesn't have any effect anymore.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Backed out for causing mochitest failures on Mutex_posix.cpp
- Backout link
- Push with failures
- Failure Log
- Failure line: SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/mozglue/misc/Mutex_posix.cpp:90:3 in mozilla::detail::MutexImpl::~MutexImpl()
| Assignee | ||
Comment 4•3 years ago
|
||
Thank you Cristian.
The profiler did not support an empty features list, nor a feature bitset of 0 (zero). I'll fix that and retest...
| Assignee | ||
Comment 5•3 years ago
|
||
This is necessary, because the next patch will remove the "threads" feature, and some tests only add that one feature so now they will have an empty feature list, equivalent to a feature bitset of 0 (zero).
Comment 7•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c08a6b6ce85a
https://hg.mozilla.org/mozilla-central/rev/2198098ce797
Description
•