late-loading activation ?

VERIFIED INVALID

Status

Core Graveyard
Profile: BackEnd
VERIFIED INVALID
17 years ago
2 years ago

People

(Reporter: Cathleen, Assigned: Conrad Carlen (not reading bugmail))

Tracking

({perf})

Trunk
mozilla0.9.4
x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [nav+perf])

(Reporter)

Description

17 years ago
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?
(Reporter)

Updated

17 years ago
Blocks: 71373
(Assignee)

Comment 1

17 years ago
Yes, it's possible not to load it. And fairly easy too. What's the purpose here?
To save loading a component?
(Reporter)

Comment 2

17 years ago
purpose is to help save start-up loading and memory page space.  :-)
Keywords: perf

Comment 3

17 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

17 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
(Reporter)

Updated

17 years ago
Blocks: 71781
(Assignee)

Updated

17 years ago
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
(Assignee)

Comment 5

17 years ago
-> mozilla1.0
(Reporter)

Updated

17 years ago
No longer blocks: 71373

Comment 6

17 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

17 years ago
Whiteboard: [nav+perf]
(Assignee)

Comment 7

17 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

17 years ago
Since nsonly and patch will require change to nsonly code, moved to bugscape bug
8046.
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → INVALID

Comment 9

17 years ago
verified
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.