Clear memory counter each time we re-enable the profiler
Categories
(Core :: Gecko Profiler, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: jesup, Assigned: jesup)
References
Details
Attachments
(1 file)
We noticed this issue a long time ago, but I never put the patch up for review. Resetting the memory counter on profiler restart makes far more sense.
Assignee | ||
Comment 1•3 years ago
|
||
Comment 2•3 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jesup, could you have a look please?
For more information, please visit auto_nag documentation.
Still r+ from me.
Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/95e43f573edb Clear profiler memory counter on re-enabling of the profiler r=gerald
Comment 5•3 years ago
|
||
Backed out for causing assertion failure on ProfilerCounts.h
backout: https://hg.mozilla.org/integration/autoland/rev/dfdb488633e22d1dd19b869da177428263a7efbe
failure log: https://treeherder.mozilla.org/logviewer?job_id=335471707&repo=autoland&lineNumber=5757
[task 2021-04-05T18:47:35.956Z] 18:47:35 INFO - GECKO(1536) | Assertion failure: aNumber >= mPrevNumber, at /builds/worker/workspace/obj-build/dist/include/mozilla/ProfilerCounts.h:108
[task 2021-04-05T18:47:35.956Z] 18:47:35 INFO - GECKO(1536) | #01: SamplerThread::Run() [tools/profiler/core/platform.cpp:3468]
[task 2021-04-05T18:47:35.956Z] 18:47:35 INFO - GECKO(1536) | #02: ThreadEntry(void*) [tools/profiler/core/platform-linux-android.cpp:460]
[task 2021-04-05T18:47:35.959Z] 18:47:35 INFO - GECKO(1536) | #03: ??? [/lib/x86_64-linux-gnu/libpthread.so.0 + 0x76db]
[task 2021-04-05T18:47:35.959Z] 18:47:35 INFO - GECKO(1536) | #04: clone [/lib/x86_64-linux-gnu/libc.so.6 + 0x121a3f]
[task 2021-04-05T18:47:35.960Z] 18:47:35 INFO - GECKO(1536) | #05: ??? (???:???)
[task 2021-04-05T18:47:36.016Z] 18:47:36 INFO - GECKO(1536) | [Parent 1536, Breakpad Server] WARNING: Resource acquired is being released in non-LIFO order; why?
[task 2021-04-05T18:47:36.016Z] 18:47:36 INFO - GECKO(1536) | : file /builds/worker/checkouts/gecko/xpcom/threads/BlockingResourceBase.cpp:293
[task 2021-04-05T18:47:36.017Z] 18:47:36 INFO - GECKO(1536) | --- Mutex : dumpSafetyLock (currently acquired)
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/78b33c83dcd6 Clear profiler memory counter on re-enabling of the profiler r=gerald
Assignee | ||
Updated•3 years ago
|
Comment 7•3 years ago
•
|
||
Backed out changeset 78b33c83dcd6 (Bug 1698524) for causing assertion CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=335492986&repo=autoland&lineNumber=5438
Backout: https://hg.mozilla.org/integration/autoland/rev/91727265484ddabe292cf3b4d74bf3c24ecee207
Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/d81407c4ae4b Clear profiler memory counter on re-enabling of the profiler r=gerald
Comment 9•3 years ago
|
||
Is this a duplicate of Bug 1520587? It would be good to close the other one too. Also, there is a front-end mitigation that could be removed after this rides the trains.
Comment 10•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Description
•