Closed Bug 490204 Opened 16 years ago Closed 16 years ago

It needs to be possible to disable MMGC_MEMORY_INFO in DEBUG builds

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: lhansen, Assigned: rishah)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch v1 (obsolete) — Splinter Review
A simple adjustment is all it takes: a couple of calls need to be #ifdef'd.
Attachment #374655 - Flags: review?(rishah)
review+
redux changeset: 1814:00071f9b1b97
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #374655 - Attachment is obsolete: true
Attachment #374655 - Flags: review?(rishah)
Comment on attachment 374655 [details] [diff] [review] Patch v1 It still does not compile when MEMORY_INFO is turned off in debug mode (on Mac) and this fix did not compile on Windows. There seems to be copious confusion about whether MEMORY_PROFILER requires MEMORY_INFO, and about who owns various global definitions used throughout the code for debugging.
Assignee: nobody → rishah
I had asked Tommy the same question last week and his response was that MMGC_MEMORY_INFO and MMGC_MEMORY_PROFILER are independent of each other. I will remove the existing dependencies of these 2 features. By ownership of global definitions you mean the feature or their supporting methods?
Attached patch [v2] patchSplinter Review
Attachment #375365 - Flags: review?(lhansen)
(In reply to comment #4) > I had asked Tommy the same question last week and his response was that > MMGC_MEMORY_INFO and MMGC_MEMORY_PROFILER are independent of each other. OK, let that be recorded somewhere... > I will remove the existing dependencies of these 2 features. > > By ownership of global definitions you mean the feature or their supporting > methods? By ownership I was referring to MMGC_MEMORY_INFO or MMGC_MEMORY_PROFILER (or some other entity).
Attachment #375365 - Flags: review?(lhansen) → review+
I vote we rename MMGC_MEMORY_INFO MMGC_MEMORY_GUARD_EDGES_AND_SCRIBBLE or something that reflects what it actually does.
changeset 1835 54ab974aaae4
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
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: