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)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
Q3 11 - Serrano

People

(Reporter: rulohani, Assigned: rulohani)

Details

Attachments

(1 file)

Selftest added for bug# 580603 should call GCHeap::FreeNoProfile() instead of GCHeap::Free(). kProfile flag is not set while calling GCHeap::Alloc().
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?
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).
Assignee: nobody → rulohani
Target Milestone: --- → Q3 11 - Serrano
Attached patch PatchSplinter Review
Attachment #524116 - Flags: superreview?(lhansen)
Attachment #524116 - Flags: review?(fklockii)
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+
Attachment #524116 - Flags: review?(fklockii) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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.

Attachment

General

Creator:
Created:
Updated:
Size: