Title: [99486] trunk/Source/_javascript_Core
Revision
99486
Author
[email protected]
Date
2011-11-07 15:08:54 -0800 (Mon, 07 Nov 2011)

Log Message

Switch the value profiler back to 8 buckets, because we suspect that while this
is more expensive it's also more stable.

Rubber stamped by Geoff Garen.

* bytecode/ValueProfile.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (99485 => 99486)


--- trunk/Source/_javascript_Core/ChangeLog	2011-11-07 23:03:05 UTC (rev 99485)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-11-07 23:08:54 UTC (rev 99486)
@@ -1,3 +1,12 @@
+2011-11-07  Filip Pizlo  <[email protected]>
+
+        Switch the value profiler back to 8 buckets, because we suspect that while this
+        is more expensive it's also more stable.
+
+        Rubber stamped by Geoff Garen.
+
+        * bytecode/ValueProfile.h:
+
 2011-11-07  Andrew Wason  <[email protected]>
 
         Uninitialized Heap member var

Modified: trunk/Source/_javascript_Core/bytecode/ValueProfile.h (99485 => 99486)


--- trunk/Source/_javascript_Core/bytecode/ValueProfile.h	2011-11-07 23:03:05 UTC (rev 99485)
+++ trunk/Source/_javascript_Core/bytecode/ValueProfile.h	2011-11-07 23:08:54 UTC (rev 99486)
@@ -38,7 +38,7 @@
 
 #if ENABLE(VALUE_PROFILER)
 struct ValueProfile {
-    static const unsigned logNumberOfBuckets = 0; // 1 bucket
+    static const unsigned logNumberOfBuckets = 3; // 8 buckets
     static const unsigned numberOfBuckets = 1 << logNumberOfBuckets;
     static const unsigned numberOfSpecFailBuckets = 1;
     static const unsigned bucketIndexMask = numberOfBuckets - 1;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to