Bug 1479909 Part 2 - Give replaying processes more time to execute before treating them as hanged, r=mccr8.
authorBrian Hackett <bhackett1024@gmail.com>
Thu, 30 Aug 2018 11:59:24 -1000
changeset 492182 45649765f2a9efbdde2931a9f2387484a65fb6fc
parent 492181 0e0a9ee8560adeb81dfffbc2a5f1c367f196392d
child 492183 354e37362d068f8f120d759c6ed61507f46c2918
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmccr8
bugs1479909
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1479909 Part 2 - Give replaying processes more time to execute before treating them as hanged, r=mccr8.
toolkit/recordreplay/ipc/ChildProcess.cpp
--- a/toolkit/recordreplay/ipc/ChildProcess.cpp
+++ b/toolkit/recordreplay/ipc/ChildProcess.cpp
@@ -631,17 +631,17 @@ ChildProcessInfo::MaybeProcessPendingMes
     }
   }
 
   return false;
 }
 
 // How many seconds to wait without hearing from an unpaused child before
 // considering that child to be hung.
-static const size_t HangSeconds = 5;
+static const size_t HangSeconds = 30;
 
 void
 ChildProcessInfo::WaitUntil(const std::function<bool()>& aCallback)
 {
   MOZ_RELEASE_ASSERT(NS_IsMainThread());
 
   bool sentTerminateMessage = false;
   while (!aCallback()) {