Closed Bug 799336 Opened 12 years ago Closed 12 years ago

Style data is double-counted with multiple windows open

Categories

(Core :: CSS Parsing and Computation, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 768901

People

(Reporter: n.nethercote, Unassigned)

References

Details

Attachments

(1 file)

Attached file stack trace
DMD tells me that when two about:blank windows are open and we run the memory reporters, lots of style data is being measured twice.

Attached is an example stack trace for the reporting of nsCSSStyleSheetInner;  the stack trace was the same for both measurements.  Other things being double-counted include rules, selectors, nsCSSValue, StringBuffers... pretty much all kinds of style data.

I guess there must be some sharing of style sheets (or something like that) between windows that we're not accounting for.

This also shows up on B2G when profiling the home screen.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: