Closed
Bug 514235
Opened 16 years ago
Closed 16 years ago
Add GC instance count to memory info dump
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), enhancement, P5)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: rishah, Assigned: lhansen)
Details
Attachments
(1 file)
|
854 bytes,
patch
|
stejohns
:
review+
|
Details | Diff | Splinter Review |
Sometimes, while debugging memory usage issues on websites it is useful to know the number of active GC instances.
Adding this instance count info to DumpMemoryInfo would help the developer.
| Reporter | ||
Updated•16 years ago
|
Summary: Add GC instance count memory info dump → Add GC instance count to memory info dump
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → lhansen
| Assignee | ||
Comment 1•16 years ago
|
||
Attachment #402826 -
Flags: review?(rishah)
| Assignee | ||
Comment 2•16 years ago
|
||
pushed pending review: redux changeset: 2609:31e7c1c504b4
Status: NEW → ASSIGNED
| Assignee | ||
Updated•16 years ago
|
Attachment #402826 -
Flags: review?(rishah) → review?(stejohns)
Comment 3•16 years ago
|
||
Comment on attachment 402826 [details] [diff] [review]
Patch - count the GCs, dump with gross stats
Don't we need a "gc_count -= 1" somewhere?
| Assignee | ||
Comment 4•16 years ago
|
||
(In reply to comment #3)
> (From update of attachment 402826 [details] [diff] [review])
> Don't we need a "gc_count -= 1" somewhere?
Shouldn't be necessary, because the code computes gc_count every time it needs it (once every GC) by walking the list of garbage collectors. When a collector is destroyed it is removed from that list, and the next time the count is printed it will be recomputed correctly.
| Assignee | ||
Updated•16 years ago
|
Priority: -- → P5
Target Milestone: --- → flash10.1
Updated•16 years ago
|
Attachment #402826 -
Flags: review?(stejohns) → review+
| Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
Resolved fixed engineering / work item that has been pushed. Setting status to verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•