Closed
Bug 1338208
Opened 8 years ago
Closed 8 years ago
Nursery profiling information is wrong if the nursery is empty
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
Details
Attachments
(1 file)
2.78 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
We don't currently clear profileDurations_ in Nursery::collect so if the nursery is empty and we skip calling doCollection we will report the durations for the previous collection.
Assignee | ||
Comment 1•8 years ago
|
||
This can be demonstrated by running:
$ JS_GC_PROFILE_NURSERY=0 ./shell -e 'a = []; for (let i = 0; i < 200000; i++) { a[i] = { x: i } } gc(); gc(); gc();'
The times given for e.g. marking the whole cell buffer are all the same for the last few collections.
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8835582 -
Flags: review?(sphink)
Updated•8 years ago
|
Attachment #8835582 -
Flags: review?(sphink) → review+
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/147e70a78d1a
Fix nursery profiling output if the nursery is empty r=sfink
Comment 4•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•