Reviewers: Michael Starzinger,

Description:
Disable code compaction again while we investigate buildbot check failures.

Please review this at https://chromiumcodereview.appspot.com/9351013/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/flag-definitions.h
  M     src/mark-compact.cc


Index: src/flag-definitions.h
===================================================================
--- src/flag-definitions.h      (revision 10618)
+++ src/flag-definitions.h      (working copy)
@@ -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.")
Index: src/mark-compact.cc
===================================================================
--- src/mark-compact.cc (revision 10618)
+++ src/mark-compact.cc (working copy)
@@ -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