Closed
Bug 71379
Opened 24 years ago
Closed 24 years ago
late-loading activation ?
Categories
(Core Graveyard :: Profile: BackEnd, defect)
Tracking
(Not tracked)
VERIFIED
INVALID
mozilla0.9.4
People
(Reporter: cathleennscp, Assigned: ccarlen)
References
Details
(Keywords: perf, Whiteboard: [nav+perf])
activation is one of the components that gets loaded at start-up. Is it possible after the very fist time, we don't load it anymore, or we lazy initialize it?
Assignee | ||
Comment 1•24 years ago
|
||
Yes, it's possible not to load it. And fairly easy too. What's the purpose here? To save loading a component?
Comment 3•24 years ago
|
||
Is the activation stuff initialised in Mozilla even though only Netscape 6 uses this feature? or should this bug be marked nsonly? If this is initialised and not used by Mozilla I think this should be fixed soon
Keywords: mozilla0.9.1
Assignee | ||
Comment 4•24 years ago
|
||
> Is the activation stuff initialised in Mozilla even though only Netscape 6 uses
> this feature?
Yes. The profile mgr which is common to both causes it to load - indirectly
because there can be no reference to activation in the mozilla tree. This isn't
an issue for mozilla because the activation component will not be available, so
not loaded, etc.
It is nsonly - adding keyword.
Keywords: nsonly
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Comment 6•24 years ago
|
||
We'd like to pull this into mozilla0.9.1 if possible. Bhuvan, can you help? Seems like this should be a pretty simple fix. We need to eliminate everything we can from the startup - the only way to win is to nibble off all the little pieces.
Updated•24 years ago
|
Whiteboard: [nav+perf]
Assignee | ||
Comment 7•24 years ago
|
||
An instance of the activation component is created when the app is started with a profile. The activation component determines whether it has to do anything or not. Most of the time, it doesn't so it's created needlessly. If the profile mgr could know whether the profile it is making the current profile needed activation or not, it could skip this unless nescesary. Bhuvan, is the true test of whether a profile needs to be activated done with this: http://lxr.mozilla.org/mozilla/source/profile/src/nsProfile.cpp#2212? This will take some changes to activation and should be moved to bugscape.
Keywords: mozilla0.9.1
Target Milestone: mozilla1.0 → mozilla0.9.4
Assignee | ||
Comment 8•24 years ago
|
||
Since nsonly and patch will require change to nsonly code, moved to bugscape bug 8046.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•