Closed Bug 591841 Opened 14 years ago Closed 2 years ago

90k Lk increase on switch to omnijar

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: karlt, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

Summary: 90k Lk increase → 90k Lk increase on switch to omnijar
Looks like gnomevfs from nsOSHelperAppService::GetMIMEInfoFromOS might be involved.
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.
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.
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.
(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.
Should be easy to just run a build on Linux and see the stack of GetMIMEInfoFromOS...
Assignee: nobody → mwu
Product: Core → Firefox Build System

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)

This was a regression from 12 years ago, marking as no longer valid.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(mhentges)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: