Closed
Bug 491776
Opened 16 years ago
Closed 15 years ago
Avoid conversion of size_t to int while calling ChangeSize() in memory profiler code
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect, P5)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
RESOLVED
FIXED
Q3 11 - Serrano
People
(Reporter: rishah, Assigned: lhansen)
References
Details
(Whiteboard: Has patch)
Attachments
(1 file)
1.36 KB,
patch
|
pnkfelix
:
review+
|
Details | Diff | Splinter Review |
The conversion could result in truncation and wrapping of the real size. Simply passing an argument to indicate add/subtract should do.
Flags: flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → Future
Assignee | ||
Updated•16 years ago
|
Assignee: rishah → nobody
Assignee | ||
Updated•15 years ago
|
Priority: P3 → P5
Target Milestone: Future → flash10.1
Blocks: Profiler_bugs
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → lhansen
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #437621 -
Flags: review?(fklockii)
Assignee | ||
Updated•15 years ago
|
Whiteboard: Has patch
Comment 2•15 years ago
|
||
Comment on attachment 437621 [details] [diff] [review]
Obvious patch
Compiles, and looks solid.
(But I have not actually tested; I do not know how to exercise the memory profiler yet.)
It looks like the other participants implicitly agree that the payoff for trying to make a test here would not justify the effort of construction.
One nitpick: you used spaces for indentation but the rest of this file uses tabs. I would favor consistency within the file over isolated introduction of space-based indentation.
Attachment #437621 -
Flags: review?(fklockii) → review+
Assignee | ||
Comment 3•15 years ago
|
||
Thanks. Nit acknowledged, but as spaces vs tabs is a tool-wide setting in Xcode I'm pretty much screwed and spaces have been slowly creeping into files for the last several months from many of us for that reason.
Comment 4•15 years ago
|
||
You can tell Xcode to use emacs as your source code editor. :)
(But I can understand the appeal of sticking with one tool, especially if you know how to use it well. I am continuing to put off learning Xcode... I do not think I've found anything as good as the Green Hills IDE.)
Comment 5•15 years ago
|
||
(In reply to comment #4)
> You can tell Xcode to use emacs as your source code editor. :)
I could also drive nails into my hand... :-)
Assignee | ||
Comment 6•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Flags: flashplayer-bug+
You need to log in
before you can comment on or make changes to this bug.
Description
•