Closed Bug 593351 Opened 15 years ago Closed 7 years ago

pagemap code: over-conservatively alloc'd by one page/block?

Categories

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

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: pnkfelix, Unassigned)

References

Details

Investigations during Bug 581070 led Felix to believe that the code is unnecessarily adding 1 to its calculations of the number of pages to allocate. It is not clear what the origin of the increment was. Its possible it was (or still is) working around bugs elsewhere. So it should be investigated. At worst, it is allocating a bit more storage than we would like for the page map. But before removing it to try to be more aggressive about memory consumption, I would want to see evidence that the test suite is exercising the boundary cases here; otherwise it is higher risk than I would like to just put it in.
(In reply to comment #1) > related? https://bugzilla.mozilla.org/show_bug.cgi?id=588079 Maybe related. I had originally hypothesized that the over-allocation by 1 was hiding the memEnd miscalculation described in bug 588079. But as you have quite clearly demonstrated, even if it was masking the memEnd miscalculation in some cases, it was not covering all of them.
See Also: → 588079
Assignee: nobody → fklockii
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → flash10.x - Serrano
Flags: flashplayer-bug+
Whiteboard: must-fix-candidate
Priority: P3 → --
Whiteboard: must-fix-candidate
Target Milestone: Q3 11 - Serrano → Future
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Assignee: fklockii → nobody
No assignee, updating the status.
Status: ASSIGNED → NEW
No assignee, updating the status.
No assignee, updating the status.
No assignee, updating the status.
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.