Merge V8 at r10110: Roll to 3.2.10.40

Bug: 5654713
Change-Id: I94eb0ed43c585bb042456cb60365e7d9f0f642e6
diff --git a/src/log.h b/src/log.h
index 4fb0e23..1fa86d2 100644
--- a/src/log.h
+++ b/src/log.h
@@ -294,7 +294,13 @@
   INLINE(static LogEventsAndTags ToNativeByScript(LogEventsAndTags, Script*));
 
   // Profiler's sampling interval (in milliseconds).
+#if defined(ANDROID)
+  // Phones and tablets have processors that are much slower than desktop
+  // and laptop computers for which current heuristics are tuned.
+  static const int kSamplingIntervalMs = 5;
+#else
   static const int kSamplingIntervalMs = 1;
+#endif
 
   // Callback from Log, stops profiling in case of insufficient resources.
   void LogFailure();