Closed Bug 71379 Opened 23 years ago Closed 23 years ago

late-loading activation ?

Categories

(Core Graveyard :: Profile: BackEnd, defect)

x86
Windows NT
defect
Not set
normal

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?
Blocks: 71373
Yes, it's possible not to load it. And fairly easy too. What's the purpose here?
To save loading a component?
purpose is to help save start-up loading and memory page space.  :-)
Keywords: perf
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
> 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
Blocks: 71781
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
-> mozilla1.0
No longer blocks: 71373
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.
Whiteboard: [nav+perf]
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
Since nsonly and patch will require change to nsonly code, moved to bugscape bug
8046.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
verified
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.