Track and report CC reason to profiler
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: sfink, Assigned: sfink)
References
Details
Attachments
(6 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
I would like to record the reason that a CC is triggered in the profiler.
And now that I've written the patch, I see this is basically a dupe of the 10 year old bug 710499! (Except that was for telemetry, which I was considering as a followup.) That bug suggests that a single reason might not be enough; it might be better to track the full set of reasons for a given CC. Which coincidentally was just suggested today by jonco for GC reasons as well.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b3e894d590d9 Add profiler marker for core part of CC r=smaug,gerald https://hg.mozilla.org/integration/autoland/rev/0cbf901cab8b Pass through explicit ccIsManual to reduce usage of ccType r=smaug https://hg.mozilla.org/integration/autoland/rev/b339e54078d7 Remove unused ccType from ShouldMergeZones r=smaug https://hg.mozilla.org/integration/autoland/rev/d83b36b92051 Replace bools with CCReasons for the scheduler control variables. r=smaug https://hg.mozilla.org/integration/autoland/rev/a5a2c9c53340 Track CCReason for all cycle collections (replacing ccType) r=smaug https://hg.mozilla.org/integration/autoland/rev/88dbe1a7478c Add the CC reason to CC profile markers r=gerald
Comment 8•3 years ago
|
||
Backed out for causing assertion failures in CCGCScheduler.h.
Backout link: https://hg.mozilla.org/integration/autoland/rev/9862759294b3bb79db84a5a9ebb2ce9854aecd9c
Failure log: https://treeherder.mozilla.org/logviewer?job_id=353655959&repo=autoland&lineNumber=32185
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/50d17b172185 Add profiler marker for core part of CC r=smaug,gerald https://hg.mozilla.org/integration/autoland/rev/6acb82c0ac3c Pass through explicit ccIsManual to reduce usage of ccType r=smaug https://hg.mozilla.org/integration/autoland/rev/84787a58a428 Remove unused ccType from ShouldMergeZones r=smaug https://hg.mozilla.org/integration/autoland/rev/fb1838a152f2 Replace bools with CCReasons for the scheduler control variables. r=smaug https://hg.mozilla.org/integration/autoland/rev/d24b8450b7ed Track CCReason for all cycle collections (replacing ccType) r=smaug https://hg.mozilla.org/integration/autoland/rev/7271b938e71a Add the CC reason to CC profile markers r=gerald
Comment 10•3 years ago
|
||
Backed out for build bustages on nsCycleCollectionParticipant.h
Backout link: https://hg.mozilla.org/integration/autoland/rev/d5128422f25a2cad707e2571f300c0240b9828d7
Log link: https://treeherder.mozilla.org/logviewer?job_id=354441549&repo=autoland&lineNumber=53783
Comment 11•3 years ago
|
||
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/67d81f8f413e Add profiler marker for core part of CC r=smaug,gerald https://hg.mozilla.org/integration/autoland/rev/49dcac272f05 Pass through explicit ccIsManual to reduce usage of ccType r=smaug https://hg.mozilla.org/integration/autoland/rev/76c21ec8ffb6 Remove unused ccType from ShouldMergeZones r=smaug https://hg.mozilla.org/integration/autoland/rev/98eaff0d5124 Replace bools with CCReasons for the scheduler control variables. r=smaug https://hg.mozilla.org/integration/autoland/rev/aed63de28354 Track CCReason for all cycle collections (replacing ccType) r=smaug https://hg.mozilla.org/integration/autoland/rev/766a1bc74001 Add the CC reason to CC profile markers r=gerald
Comment 12•3 years ago
•
|
||
Backed out for causing linux base toolchains bustages. CLOSED TREE
Backout link : https://hg.mozilla.org/integration/autoland/rev/f58a783bb009d22df31ec1965052cfe8537cbfe4
Link to failure log : https://treeherder.mozilla.org/logviewer?job_id=354718530&repo=autoland&lineNumber=9610
Comment 13•3 years ago
|
||
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3bb43ee4a954 Add profiler marker for core part of CC r=smaug,gerald https://hg.mozilla.org/integration/autoland/rev/9c2d667cad6d Pass through explicit ccIsManual to reduce usage of ccType r=smaug https://hg.mozilla.org/integration/autoland/rev/620d1123ade3 Remove unused ccType from ShouldMergeZones r=smaug https://hg.mozilla.org/integration/autoland/rev/027f4bc5efe6 Replace bools with CCReasons for the scheduler control variables. r=smaug https://hg.mozilla.org/integration/autoland/rev/9a0e9dbfe524 Track CCReason for all cycle collections (replacing ccType) r=smaug https://hg.mozilla.org/integration/autoland/rev/87d6b8574dd8 Add the CC reason to CC profile markers r=gerald
Comment 15•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3bb43ee4a954
https://hg.mozilla.org/mozilla-central/rev/9c2d667cad6d
https://hg.mozilla.org/mozilla-central/rev/620d1123ade3
https://hg.mozilla.org/mozilla-central/rev/027f4bc5efe6
https://hg.mozilla.org/mozilla-central/rev/9a0e9dbfe524
https://hg.mozilla.org/mozilla-central/rev/87d6b8574dd8
Description
•