Last Comment Bug 676314 - Count RuleHash's mArena in about:memory
: Count RuleHash's mArena in about:memory
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: CSS Parsing and Computation (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla8
Assigned To: Kyle Huey [:khuey] (khuey@mozilla.com)
:
Mentors:
Depends on:
Blocks: 671299
  Show dependency treegraph
 
Reported: 2011-08-03 11:00 PDT by Kyle Huey [:khuey] (khuey@mozilla.com)
Modified: 2011-08-10 08:13 PDT (History)
0 users
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch (846 bytes, patch)
2011-08-03 11:00 PDT, Kyle Huey [:khuey] (khuey@mozilla.com)
bzbarsky: review+
Details | Diff | Review

Description Kyle Huey [:khuey] (khuey@mozilla.com) 2011-08-03 11:00:23 PDT
Created attachment 550428 [details] [diff] [review]
Patch
Comment 1 Boris Zbarsky [:bz] 2011-08-03 11:55:51 PDT
Comment on attachment 550428 [details] [diff] [review]
Patch

This matches what nsPresArena does, but should we count the arena headers too?  That is subtract |current| from |current->limit|?

r=me either way.
Comment 2 Kyle Huey [:khuey] (khuey@mozilla.com) 2011-08-10 08:13:26 PDT
http://hg.mozilla.org/mozilla-central/rev/63c1f6f5ee03

Note You need to log in before you can comment on or make changes to this bug.