Closed
Bug 592731
Opened 16 years ago
Closed 15 years ago
Memory profiler should have an option to sort by count instead of volume
Categories
(Tamarin Graveyard :: Profiler, defect)
Tamarin Graveyard
Profiler
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: treilly, Unassigned)
Details
Attachments
(1 obsolete file)
Be good for finding ferreting out most frequent allocations, regardless of size
Updated•16 years ago
|
Component: Garbage Collection (mmGC) → Profiler
QA Contact: gc → profiler
Comment 1•16 years ago
|
||
This bug would have a longer and more fruitful life with a fleshed out description of the use case, and if it CC'd Thomas from QNX.
Updated•15 years ago
|
Assignee: nobody → lhansen
Status: NEW → ASSIGNED
Comment 2•15 years ago
|
||
This is a simple tweak that reuses the existing machinery to implement a simple allocation site profiler for the shell. The presence of an additional environment variable makes GCHeap dump profile data in a useful form on shutdown. The environment variable can optionally carry information that instructs the machinery as to how to dump the data (how many entries, how to sort). It's not a fully general system but it's vastly simpler than nothing, and it means we can have simple allocation volume profiling in the shell without having to go in and edit any code.
Attachment #497165 -
Flags: review?(treilly)
| Reporter | ||
Comment 3•15 years ago
|
||
Comment on attachment 497165 [details] [diff] [review]
Adapt DumpSimple for allocation site profiling
Looks fine although my preference would be for GCHeap::Destroy to just call GCMemoryProfiler Destroy() and move all the code into GCMemoryProfiler.cpp
Attachment #497165 -
Flags: review?(treilly) → review+
Comment 4•15 years ago
|
||
(In reply to comment #3)
> Looks fine although my preference would be for GCHeap::Destroy to just call
> GCMemoryProfiler Destroy() and move all the code into GCMemoryProfiler.cpp
Noted. I will consider that when I land it.
Comment 5•15 years ago
|
||
changeset: 5676:ee4750c15ce4
user: Lars T Hansen <lhansen@adobe.com>
summary: For 592731 - Memory profiler should have an option to sort by count instead of volume: simple allocation site profiling (r=treilly)
http://hg.mozilla.org/tamarin-redux/rev/ee4750c15ce4
Updated•15 years ago
|
Attachment #497165 -
Attachment is obsolete: true
Updated•15 years ago
|
Assignee: lhansen → nobody
Marking RESOLVED/FIXED.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: flashplayer-qrb+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•