Closed
Bug 1013011
Opened 11 years ago
Closed 11 years ago
DMD: Remove stack frame records
Categories
(Core :: DMD, defect)
Core
DMD
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
Attachments
(1 file)
20.86 KB,
patch
|
erahm
:
review+
|
Details | Diff | Splinter Review |
DMD's most useful output is stack trace records -- all the allocations with identical stacks get aggregated into a single record. This is useful, and easy to understand.
But sometimes you have lots of stacks that are conceptually the same but have very small variations. In an attempt to identify cases like these, I added stack frame records. A stack frame record is a merging of every stack trace record that had an allocation stack trace containing its stack frame.
It was a reasonable idea, but in practice it's not useful. It's hard to understand and is dominated by functions like XRE_main() and NS_ProcessNextEvent(). I've barely used it and I doubt anyone else has.
![]() |
Assignee | |
Comment 1•11 years ago
|
||
Eric: other than me, you've looked at DMD as much as anyone has lately, so you
might as well review this.
Once it lands, I'll update the wiki page accordingly.
Attachment #8425168 -
Flags: review?(erahm)
Comment 2•11 years ago
|
||
I've found it sort of useful before on some of my B2G skulking expeditions, but it feels like something that could easily be done in a post-processing step. I feel like it also ended up being a huge percentage of the total log, which make look around more annoying.
![]() |
Assignee | |
Comment 3•11 years ago
|
||
> it feels like something that could easily be done in a post-processing
> step.
Good point. A few dozen lines of Python could replicate a few hundred lines of C++.
Comment 4•11 years ago
|
||
Comment on attachment 8425168 [details] [diff] [review]
DMD: Remove stack frame records
Review of attachment 8425168 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm. I agree, if we need this functionality post processing is probably a better place. r=me
Attachment #8425168 -
Flags: review?(erahm) → review+
![]() |
Assignee | |
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•