Revision: 4841
Author: [email protected]
Date: Fri Jun 11 00:46:10 2010
Log: Patch trunk to version 2.2.16.1, pulling in change 4840 (put code flushing behind flag)
Review URL: http://codereview.chromium.org/2745013
http://code.google.com/p/v8/source/detail?r=4841

Modified:
 /trunk/src/flag-definitions.h
 /trunk/src/heap.cc
 /trunk/src/version.cc

=======================================
--- /trunk/src/flag-definitions.h       Wed Jun  9 02:38:56 2010
+++ /trunk/src/flag-definitions.h       Fri Jun 11 00:46:10 2010
@@ -191,6 +191,8 @@
             "print more details following each garbage collection")
 DEFINE_bool(collect_maps, true,
             "garbage collect maps from which no objects can be reached")
+DEFINE_bool(flush_code, false,
+            "flush code that we expect not to use again before full gc")

 // v8.cc
 DEFINE_bool(use_idle_notification, true,
=======================================
--- /trunk/src/heap.cc  Wed Jun  9 02:38:56 2010
+++ /trunk/src/heap.cc  Fri Jun 11 00:46:10 2010
@@ -605,8 +605,10 @@
   EnsureFromSpaceIsCommitted();

   if (collector == MARK_COMPACTOR) {
-    // Flush all potentially unused code.
-    FlushCode();
+    if (FLAG_flush_code) {
+      // Flush all potentially unused code.
+      FlushCode();
+    }

     // Perform mark-sweep with optional compaction.
     MarkCompact(tracer);
=======================================
--- /trunk/src/version.cc       Wed Jun  9 02:38:56 2010
+++ /trunk/src/version.cc       Fri Jun 11 00:46:10 2010
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     2
 #define MINOR_VERSION     2
 #define BUILD_NUMBER      16
-#define PATCH_LEVEL       0
+#define PATCH_LEVEL       1
 #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