Add profiler sub-categories for the GC
Categories
(Core :: JavaScript: GC, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox81 | --- | fixed |
People
(Reporter: jonco, Assigned: allstars.chh)
Details
Attachments
(2 files)
As suggested by Ted we can add profiler subcategories for different parts of the GC.
At a minimum we should have categories for major GC, minor GC, gray unmarking and barriers. Possibly we could have subcategories for the major phases of major GC too (e.g. mark, sweep, compact, etc).
This happened for the JITs in bug 1645469.
| Reporter | ||
Comment 1•5 years ago
|
||
Yoshi, do you think you could take a look at this?
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
(In reply to Jon Coppeard (:jonco) from comment #0)
At a minimum we should have categories for major GC, minor GC, gray unmarking and barriers.
For barriers, is it different from unmarking gray?
for example in https://searchfox.org/mozilla-central/rev/cffd9b5302b6b6f51533d895a785b48ff418aec1/js/src/gc/Marking.cpp#4284
The AutoPhase BARRIER is the same as UNMARK_GRAY.
| Assignee | ||
Comment 3•5 years ago
|
||
| Reporter | ||
Comment 4•5 years ago
|
||
(In reply to Yoshi Cheng-Hao Huang [:allstars.chh][:allstarschh] from comment #2)
For barriers, is it different from unmarking gray?
Yes, see js::gc::PerformIncrementalReadBarrier and the IncrementalPreWriteBarrier methods.
Comment 6•5 years ago
|
||
| bugherder | ||
| Reporter | ||
Comment 7•5 years ago
|
||
Description
•