Closed
Bug 512270
Opened 15 years ago
Closed 15 years ago
MMGC_MEMORY_PROFILER needs to use avmfeatures.as
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P2)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: stejohns, Assigned: stejohns)
Details
Attachments
(1 file, 2 obsolete files)
732 bytes,
patch
|
stejohns
:
review+
|
Details | Diff | Splinter Review |
currently MMGC_MEMORY_PROFILER is hardcoded ON for some platforms, OFF for the rest in MMgc.h. We should move it into the existing config system so that embedders can enable it (or not) in line with everything else.
Assignee: nobody → treilly
Status: NEW → ASSIGNED
Flags: flashplayer-triage+
Flags: flashplayer-qrb+
Priority: -- → P2
Target Milestone: --- → flash10.1
Assignee | ||
Comment 1•15 years ago
|
||
Assignee: treilly → stejohns
Attachment #396454 -
Flags: superreview?(lhansen)
Attachment #396454 -
Flags: review?(treilly)
Updated•15 years ago
|
Attachment #396454 -
Flags: review?(treilly) → review+
Comment 2•15 years ago
|
||
Comment on attachment 396454 [details] [diff] [review] Patch VMCFG_MEMORY_PROFILER since MMGC_ names are slated to disappear sooner or later, but I'm not going to insist - we can fix that later.
Attachment #396454 -
Flags: superreview?(lhansen)
Attachment #396454 -
Flags: superreview+
Attachment #396454 -
Flags: review?
Attachment #396454 -
Flags: review+
Assignee | ||
Comment 3•15 years ago
|
||
pushed as changeset: 2400:158ddad2728e
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 4•15 years ago
|
||
For some reason it appears that the memory profiler is not being enabled by default on windows. The code change in shell/avmshell-features.h should turn on the profiler on windows but not ARM, this is the exact same check as before in MMgc/MMgc.h This is currently causing the "smokes" to fail as there is a memstat test that is not working.
Comment 5•15 years ago
|
||
change: AVMPLUS_(MAC|ARM|WIN32) to AVMFEATURE_(MAC|ARM|WIN32) MMGC_PPC to AVMSYSTEM_PPC MMGC_64BIT to SIXTYFOURBIT
Attachment #396730 -
Flags: review?(stejohns)
Comment 6•15 years ago
|
||
Use AVMSYSTEM_64BIT instead of SIXTYFOURBIT which is undef'd
Attachment #396730 -
Attachment is obsolete: true
Attachment #396738 -
Flags: review?(stejohns)
Attachment #396730 -
Flags: review?(stejohns)
Assignee | ||
Comment 7•15 years ago
|
||
Apologies -- bad fix on my part :-/
Assignee | ||
Comment 8•15 years ago
|
||
Comment on attachment 396738 [details] [diff] [review] patch avmshell-features.h approved, but I think we prefer #if FOO (not FOO==1) and #if !FOO (not FOO==0) as general form...
Attachment #396738 -
Flags: review?(stejohns) → review+
Comment 9•15 years ago
|
||
Updated patch and pushed as 2405:aefaa59b3743
Updated•15 years ago
|
Attachment #396454 -
Attachment is obsolete: true
Attachment #396454 -
Flags: review?
Comment 10•15 years ago
|
||
Resolved fixed engineering / work item that has been pushed. Setting status to verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•