Closed Bug 486215 Opened 16 years ago Closed 16 years ago

Windows Memory Profiler config does not compile after VMPI changes

Categories

(Tamarin Graveyard :: Garbage Collection (mmGC), defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 486401

People

(Reporter: rishah, Unassigned)

Details

Attachments

(2 obsolete files)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8 Build Identifier: Warning related to deprecated _snprintf function causes compilation to fail. Reproducible: Always
Attachment #370301 - Flags: review?(treilly)
Attachment #370301 - Flags: review?(treilly) → review+
Comment on attachment 370301 [details] [diff] [review] [v1] patch for Memory Profiler build breakage If MMGC_MEMORY_PROFILER is defined for release builds why didn't they fail to build?
Because MMGC_MEMORY_PROFILER is not defined for any target in shell.
Hmm, I thought I had it turned on in winbuild.h but I'm confusing branches. I'd like to turn it on for all builds (windows only right now) and see if the perf changes.
Attached patch [v2] patch (obsolete) — Splinter Review
Updating previous patch with changes to fix inconsistent usage of MMGC_MEM_TAG/MMGC_MEM_TYPE. No modifications to changes in previous patch.
Attachment #370301 - Attachment is obsolete: true
Attachment #371700 - Flags: review?(treilly)
Attachment #371700 - Flags: review?(stejohns)
Comment on attachment 371700 [details] [diff] [review] [v2] patch marking this as obsolete because this bug is a duplicate of 486401.
Attachment #371700 - Attachment is obsolete: true
Attachment #371700 - Flags: review?(treilly)
Attachment #371700 - Flags: review?(stejohns)
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Comment on attachment 371700 [details] [diff] [review] [v2] patch I have MMGC_MEMORY_PROFILER enabled for all builds in mainline winbuild.h and there is a purpose to the MMGC_MEM_TYPE=NULL, again see the mainline. I also changed all String allocations to be dumped into the "String" category
Gotcha. I made the change because SetMemType() didn't have the NULL check for incoming pointer. I will make related changes to redux and upload a patch to bug# 486401.
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: