Closed Bug 1227535 Opened 9 years ago Closed 9 years ago

Add ZoneAllocPolicy and use it to attribute module memory usage to the zone

Categories

(Core :: JavaScript: GC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch use-zone-alloc (deleted) — Splinter Review
We currently don't have an alloc policy for malloc memory that updates the counters for a zone.  This is useful malloc memory associated with a particular GC thing that will be freed when the GC thing dies.

Add ZoneAllocPolicy and use it for module hash tables.
Attachment #8691379 - Flags: review?(terrence)
Comment on attachment 8691379 [details] [diff] [review]
use-zone-alloc

Review of attachment 8691379 [details] [diff] [review]:
-----------------------------------------------------------------

Nice!
Attachment #8691379 - Flags: review?(terrence) → review+
Flags: needinfo?(jcoppeard)
https://hg.mozilla.org/mozilla-central/rev/515efe9f7542
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: