Revision: 10619
Author:   [email protected]
Date:     Tue Feb  7 02:03:08 2012
Log: Disable code compaction again while we investigate buildbot check failures.
Review URL: https://chromiumcodereview.appspot.com/9351013
http://code.google.com/p/v8/source/detail?r=10619

Modified:
 /branches/bleeding_edge/src/flag-definitions.h
 /branches/bleeding_edge/src/mark-compact.cc

=======================================
--- /branches/bleeding_edge/src/flag-definitions.h      Tue Feb  7 00:51:47 2012
+++ /branches/bleeding_edge/src/flag-definitions.h      Tue Feb  7 02:03:08 2012
@@ -307,6 +307,8 @@
             "Flush code caches in maps during mark compact cycle.")
 DEFINE_bool(never_compact, false,
             "Never perform compaction on full GC - testing only")
+DEFINE_bool(compact_code_space, false,
+            "Compact code space on full non-incremental collections")
 DEFINE_bool(cleanup_code_caches_at_gc, true,
             "Flush inline caches prior to mark compact collection and "
             "flush code caches in maps during mark compact cycle.")
=======================================
--- /branches/bleeding_edge/src/mark-compact.cc Tue Feb  7 00:51:47 2012
+++ /branches/bleeding_edge/src/mark-compact.cc Tue Feb  7 02:03:08 2012
@@ -249,7 +249,7 @@
     CollectEvacuationCandidates(heap()->old_pointer_space());
     CollectEvacuationCandidates(heap()->old_data_space());

-    if (mode == NON_INCREMENTAL_COMPACTION) {
+    if (FLAG_compact_code_space && mode == NON_INCREMENTAL_COMPACTION) {
       CollectEvacuationCandidates(heap()->code_space());
     } else if (FLAG_trace_fragmentation) {
       TraceFragmentation(heap()->code_space());

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

Reply via email to