Remove the jprof profiler.

This resolves #377.
This commit is contained in:
wolfbeast 2018-05-23 20:16:00 +02:00 committed by Roy Tam
commit 8d1e73fc3c
25 changed files with 0 additions and 3212 deletions

View file

@ -183,10 +183,6 @@
#include "mozilla/Logging.h"
#endif
#ifdef MOZ_JPROF
#include "jprof.h"
#endif
#include "base/command_line.h"
#include "GTestRunner.h"
@ -1514,11 +1510,6 @@ static nsresult LaunchChild(nsINativeAppSupport* aNative,
// Restart this process by exec'ing it into the current process
// if supported by the platform. Otherwise, use NSPR.
#ifdef MOZ_JPROF
// make sure JPROF doesn't think we're E10s
unsetenv("JPROF_SLAVE");
#endif
if (aBlankCommandLine) {
gRestartArgc = 1;
gRestartArgv[gRestartArgc] = nullptr;
@ -3397,11 +3388,6 @@ XREMain::XRE_mainStartup(bool* aExitFlag)
XRE_InstallX11ErrorHandler();
#endif
// Call the code to install our handler
#ifdef MOZ_JPROF
setupProfilingStuff();
#endif
rv = NS_CreateNativeAppSupport(getter_AddRefs(mNativeApp));
if (NS_FAILED(rv))
return 1;