Closed
Bug 709045
Opened 14 years ago
Closed 7 years ago
memstats is reporting non-believable Overhead
Categories
(Tamarin Graveyard :: Garbage Collection (mmGC), defect)
Tamarin Graveyard
Garbage Collection (mmGC)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: pnkfelix, Unassigned)
Details
(Whiteboard: WE:3044434)
Attachments
(1 file)
|
15.33 KB,
text/plain
|
Details |
For the attached benchmark I'm playing with, avmshell -memstats issues data like:
TR-serrano: Overhead 790928 bytes (772 kb)
TR-mozilla: Overhead 4294502424 bytes (4294966842 kb)
| Reporter | ||
Updated•14 years ago
|
Whiteboard: WE:3044434
| Reporter | ||
Comment 1•14 years ago
|
||
(The observation from comment 0 is true for both 32- and 64-bit release builds of avmshell on Mac OS X.)
| Reporter | ||
Comment 2•14 years ago
|
||
Appeared to have been injected by the following changeset, attached to Bug 659281, comment 5
changeset: 6342:d7646afb9d65
user: Lars T Hansen <lhansen@adobe.com>
summary: Fix 659281 - Do some accounting on demand, not for every alloc and free (r=treilly)
http://hg.mozilla.org/tamarin-redux/rev/d7646afb9d65
| Reporter | ||
Comment 3•14 years ago
|
||
(it looks like the problem is that code introduced confusion about the units of the quantities involved... at some points we need to scale by the m_itemSize for the GCAlloc, and at some points we need to scale by the m_itemsPerBlock for the GCAlloc, and I'm pretty sure that we're either missing or have an extra one of the m_itemsPerBlock mixed in, depending on whether the bug is with the calculation of maxAlloc or with the calculation of numAlloc.)
| Reporter | ||
Comment 4•14 years ago
|
||
(this bug probably only matters for memstats; as far as I can tell so far, it is maxAlloc that is miscalculated, and maxAlloc is only used by the memstats dumping code. In particular, the bug is not necessarily causing policy failures, unless there is correlated unit-confusion elsewhere.)
Comment 5•14 years ago
|
||
changeset: 6778:ba9ef082e6a8
user: Felix S Klock II <fklockii@adobe.com>
summary: Bug 709045: fix with driveby sanity-assert (r=fklockii).
http://hg.mozilla.org/tamarin-redux/rev/ba9ef082e6a8
Comment 6•7 years ago
|
||
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.
Description
•