Revision: 5725
Author: [email protected]
Date: Thu Oct 28 04:34:57 2010
Log: Merge r5721 into 2.4 branch. Suppress reporting of nested DOM calls in CPU profiler.

Review URL: http://codereview.chromium.org/4172006
http://code.google.com/p/v8/source/detail?r=5725

Modified:
 /branches/2.4/src/log.cc
 /branches/2.4/src/version.cc

=======================================
--- /branches/2.4/src/log.cc    Wed Oct 20 03:13:22 2010
+++ /branches/2.4/src/log.cc    Thu Oct 28 04:34:57 2010
@@ -164,7 +164,10 @@

   int i = 0;
   const Address callback = VMState::external_callback();
-  if (callback != NULL) {
+  // Surprisingly, PC can point _exactly_ to callback start, with good
+  // probability, and this will result in reporting fake nested
+  // callback call.
+  if (callback != NULL && callback != sample->pc) {
     sample->stack[i++] = callback;
   }

=======================================
--- /branches/2.4/src/version.cc        Tue Oct 26 02:21:12 2010
+++ /branches/2.4/src/version.cc        Thu Oct 28 04:34:57 2010
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     2
 #define MINOR_VERSION     4
 #define BUILD_NUMBER      9
-#define PATCH_LEVEL       9
+#define PATCH_LEVEL       10
 #define CANDIDATE_VERSION false

 // Define SONAME to have the SCons build the put a specific SONAME into the

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to