Closed
Bug 591841
Opened 14 years ago
Closed 3 years ago
90k Lk increase on switch to omnijar
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: karlt, Unassigned)
References
Details
(Keywords: regression)
Attachments
(1 file)
243.56 KB,
application/octet-stream
|
Details |
http://graphs.mozilla.org/graph.html#tests=[[28,1,98]]&sel=1281809882,1282312950
The dip is from omnijar backout:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1362f0ca86d2&tochange=e486018949e2
Rises again
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3900417b9594&tochange=5fcd86df0684
Reporter | ||
Updated•14 years ago
|
Summary: 90k Lk increase → 90k Lk increase on switch to omnijar
Reporter | ||
Comment 1•14 years ago
|
||
Looks like gnomevfs from nsOSHelperAppService::GetMIMEInfoFromOS might be involved.
Reporter | ||
Comment 2•14 years ago
|
||
Has the switch to omni disabled this shortcut?:
http://hg.mozilla.org/mozilla-central/annotate/4f6d1a4cd8ee/netwerk/protocol/res/nsResProtocolHandler.cpp#l209
Comment 3•14 years ago
|
||
That part isn't run in omnijar mode. Instead, http://hg.mozilla.org/mozilla-central/annotate/4f6d1a4cd8ee/netwerk/protocol/res/nsResProtocolHandler.cpp#l228 is run which sets up all three resource protocol substitutions and makes them point to the equivalent locations in the omnijar.
Reporter | ||
Comment 4•14 years ago
|
||
I really don't know what's happening here, so just speculating,
wondering if somehow switching to omnijar has caused GetMIMEInfoFromOS to run when it didn't previously (and we didn't see gnomevfs shutdown leaks).
If so, this bug would be more about unnecessary startup operations than memory usage.
Comment 5•14 years ago
|
||
Hmm...
nsGnomeVFSService::GetAppForMimeType has a memory leak, if an allocation fails.
And... nsGnomeVFSMimeApp's destructor isn't virtual, and all the references to it use nsIGnomeVFSMimeApp.
Comment 6•14 years ago
|
||
(In reply to comment #5)
> And... nsGnomeVFSMimeApp's destructor isn't virtual, and all the references to
> it use nsIGnomeVFSMimeApp.
But I guess that would only apply to its base clase.. nevermind.
Comment 7•14 years ago
|
||
Should be easy to just run a build on Linux and see the stack of GetMIMEInfoFromOS...
Assignee: nobody → mwu
Updated•7 years ago
|
Product: Core → Firefox Build System
Comment 8•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:mhentges, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: mwu.code → nobody
Flags: needinfo?(mhentges)
Comment 9•3 years ago
|
||
This was a regression from 12 years ago, marking as no longer valid.
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(mhentges)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•