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.

git-svn-id: svn://10.0.0.236/trunk@194120 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
benjamin%smedbergs.us
2006-04-11 13:28:21 +00:00
parent 4e391fb1bc
commit abca0d0f6e
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());