Bug 326925 - components should be loaded with RLTD_NOW, r=darin - This is an experimental checkin that has the potential to affect Ts times on linux machines, especially nonstatic builds.

This commit is contained in:
benjamin@smedbergs.us
2006-04-11 13:28:21 +00:00
parent 872d887001
commit 9e5dc86a08
2 changed files with 12 additions and 2 deletions

View File

@@ -1586,7 +1586,12 @@ nsLocalFile::Load(PRLibrary **_retval)
NS_TIMELINE_START_TIMER("PR_LoadLibrary");
*_retval = PR_LoadLibrary(mPath.get());
PRLibSpec ls = {
PR_LibSpec_Pathname,
mPath.get()
};
*_retval = PR_LoadLibraryWithFlags(ls, PR_LD_NOW);
NS_TIMELINE_STOP_TIMER("PR_LoadLibrary");
NS_TIMELINE_MARK_TIMER1("PR_LoadLibrary", mPath.get());