Avoid an allocation in DrawEventRecorderPrivate::DetachResources
Categories
(Core :: Graphics, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
Details
Attachments
(2 files, 3 obsolete files)
It appears that, on Windows, the constructors of unordered_map
and unordered_set
allocate memory: https://share.firefox.dev/45q3ktD
I'll try to change this to use the move constructor.
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
On Windows, unordered_set appears to allocate memory for empty sets.
Assignee | ||
Comment 3•1 year ago
|
||
On Windows, unordered_map appears to allocate memory for empty sets.
Depends on D186952
Assignee | ||
Comment 4•1 year ago
|
||
On Windows, unordered_set appears to allocate memory for empty sets.
Assignee | ||
Comment 5•1 year ago
|
||
On Windows, unordered_map appears to allocate memory for empty sets.
Depends on D186958
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 6•1 year ago
|
||
Comment 8•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/eef78049649b
https://hg.mozilla.org/mozilla-central/rev/abbb0b7a761b
Assignee | ||
Comment 9•1 year ago
|
||
Before: https://share.firefox.dev/3qHJTxG 301 samples
After: https://share.firefox.dev/3qZY690 64 samples
On nightly, the free(nullptr)
shows up a little still.
Description
•