mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1613430
- Go back to LibLoadingStrategy::ReadAhead on Nightly r=glandium
The original issue in bug 1565902 which prompted this investigation seems to have gone away with a Windows OS update. We saw mixed results in telemetry over this anyway, and no clear and obvious path for getting the benefits without the drawbacks, so removing this seems to be the best solution right now. Differential Revision: https://phabricator.services.mozilla.com/D61720 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
b02c5d2f93
commit
8e79d7f529
@ -317,15 +317,7 @@ int main(int argc, char* argv[], char* envp[]) {
|
||||
DllBlocklist_Initialize(gBlocklistInitFlags);
|
||||
#endif
|
||||
|
||||
// XXX: We are testing whether removing LibLoadingStrategy::ReadAhead has a
|
||||
// positive / neutral affect on Nightly startup measures. If it does, we will
|
||||
// rip out the enum and corresponding arguments. See bug 1565902.
|
||||
#ifdef NIGHTLY_BUILD
|
||||
nsresult rv = InitXPCOMGlue(LibLoadingStrategy::NoReadAhead);
|
||||
#else
|
||||
nsresult rv = InitXPCOMGlue(LibLoadingStrategy::ReadAhead);
|
||||
#endif
|
||||
|
||||
if (NS_FAILED(rv)) {
|
||||
return 255;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user