delay loading of nslocale.dll by delay load DateTimeFormat in nsXULContentUtils::Init

RESOLVED INVALID

Status

()

P3
normal
RESOLVED INVALID
17 years ago
5 years ago

People

(Reporter: ftang, Unassigned)

Tracking

({perf})

Trunk
Future
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

17 years ago
this is a spin off from 75041, I found one of the reason nslocale.dll is load
into memory with blank.xul is because nsXULContentUtils::Init() get the service.
I will include a patch to fix it and let waterson review it.
(Reporter)

Comment 1

17 years ago
there are several places will load nslocale.dll into the memory at start up,
here is one of the place. 
Status: NEW → ASSIGNED
(Reporter)

Updated

17 years ago
Blocks: 75041
Keywords: perf
(Reporter)

Comment 2

17 years ago
Created attachment 46905 [details] [diff] [review]
delay loading of date time formater untill we really need it
(Reporter)

Comment 3

17 years ago
Created attachment 47857 [details] [diff] [review]
the real patch, the previous one is for other bug
(Reporter)

Comment 4

17 years ago
dp and waterson- can you r/sr= this one ?
This won't be a big win since we still need to load this dll for other (many)
reason. But at least we create one less object untill we really need it. 

Priority: -- → P3
Target Milestone: --- → mozilla0.9.5
(Reporter)

Updated

17 years ago
Blocks: 103175
(Reporter)

Comment 5

17 years ago
dp, can you r= this one ?
Target Milestone: mozilla0.9.5 → mozilla0.9.6
(Reporter)

Comment 6

17 years ago
delay taking since there are no way can remove loading nslocale.dll anyway. No 
obvious way by doing this one.
(Reporter)

Comment 7

17 years ago
set it to unmark
Target Milestone: mozilla0.9.6 → ---
(Reporter)

Comment 8

17 years ago
according to the startup perf triage meeting. mark this as future
Target Milestone: --- → Future
(Reporter)

Comment 9

14 years ago
what a hack. I have not touch mozilla code for 2 years. I didn't read these bugs
for 2 years. And they are still there. Just close them as won't fix to clean up.
Status: ASSIGNED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WONTFIX

Comment 10

14 years ago
Mass Re-open of Frank Tangs Won't fix debacle. Spam is his responsibility not my own
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---

Comment 11

14 years ago
Mass Re-assinging Frank Tangs old bugs that he closed won't fix and had to be
re-open. Spam is his fault not my own
Assignee: ftang → nobody
Status: REOPENED → NEW
I think this has outlived its usefulness.
Status: NEW → RESOLVED
Last Resolved: 14 years ago7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.