Reviewers: Kevin Millikin,
Description:
Merge r10103 to the 3.2 branch. This increases the tick interval on android.
Please review this at http://codereview.chromium.org/8773001/
SVN Base: http://v8.googlecode.com/svn/branches/3.2/
Affected files:
M src/log.h
M src/version.cc
Index: src/log.h
===================================================================
--- src/log.h (revision 10107)
+++ src/log.h (working copy)
@@ -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();
Index: src/version.cc
===================================================================
--- src/version.cc (revision 10107)
+++ src/version.cc (working copy)
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 2
#define BUILD_NUMBER 10
-#define PATCH_LEVEL 39
+#define PATCH_LEVEL 40
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev