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)

enhancement

Tracking

(Not tracked)

VERIFIED FIXED
flash10.1

People

(Reporter: rishah, Assigned: lhansen)

Details

Attachments

(1 file)

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.
Summary: Add GC instance count memory info dump → Add GC instance count to memory info dump
Assignee: nobody → lhansen
Attachment #402826 - Flags: review?(rishah)
pushed pending review: redux changeset: 2609:31e7c1c504b4
Status: NEW → ASSIGNED
Attachment #402826 - Flags: review?(rishah) → review?(stejohns)
Comment on attachment 402826 [details] [diff] [review] Patch - count the GCs, dump with gross stats Don't we need a "gc_count -= 1" somewhere?
(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.
Priority: -- → P5
Target Milestone: --- → flash10.1
Attachment #402826 - Flags: review?(stejohns) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
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.

Attachment

General

Creator:
Created:
Updated:
Size: