Closed
Bug 636275
Opened 15 years ago
Closed 14 years ago
MMgc selftest alloc_loop_mmgc_viagc_far should call GCHeap::FreeNoProfile instead of GCHeap::Free()
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
Q3 11 - Serrano
People
(Reporter: rulohani, Assigned: rulohani)
Details
Attachments
(1 file)
|
835 bytes,
patch
|
pnkfelix
:
review+
lhansen
:
superreview+
|
Details | Diff | Splinter Review |
Selftest added for bug# 580603 should call GCHeap::FreeNoProfile() instead of GCHeap::Free(). kProfile flag is not set while calling GCHeap::Alloc().
Comment 1•15 years ago
|
||
Where is a good place to start to learn about the profiler?
I.e. what is typical way to exercise it, and/or how did you exercise it in this case to uncover this bug?
Or is there some information spit out from the shell from something I don't typically look at (like, um, —memstats) that I should have been looking at?
| Assignee | ||
Comment 2•15 years ago
|
||
I found it while running selftests on a debugger build (profiler is enabled). One also needs to set the MMGC_PROFILE environment variable. There was an assert failure inside RecordDeallocation, this one: GCAssert(info != NULL); as the corresponding allocation was never recorded (kProfile flag not set).
Comment 3•15 years ago
|
||
Updated•14 years ago
|
Assignee: nobody → rulohani
Target Milestone: --- → Q3 11 - Serrano
| Assignee | ||
Comment 4•14 years ago
|
||
Attachment #524116 -
Flags: superreview?(lhansen)
Attachment #524116 -
Flags: review?(fklockii)
Comment 5•14 years ago
|
||
Comment on attachment 524116 [details] [diff] [review]
Patch
No misgivings per se; happy to go with Felix's opinion.
Attachment #524116 -
Flags: superreview?(lhansen) → superreview+
Updated•14 years ago
|
Attachment #524116 -
Flags: review?(fklockii) → review+
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
changeset: 6165:5173895fc71b
user: Lars T Hansen <lhansen@adobe.com>
summary: Fix 636275 - MMgc selftest alloc_loop_mmgc_viagc_far should call GCHeap::FreeNoProfile instead of GCHeap::Free() (patch=rulohani, r=fklockii, sr=lhansen, push=lhansen)
http://hg.mozilla.org/tamarin-redux/rev/5173895fc71b
You need to log in
before you can comment on or make changes to this bug.
Description
•