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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user