Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Side by Side Diff: src/heap/heap.cc

Issue 2855143003: [heap] Minor MC: Implement page moving (Closed)
Patch Set: Disable flag Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/heap/heap.h ('k') | src/heap/incremental-marking.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/heap/heap.h" 5 #include "src/heap/heap.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/assembler-inl.h" 9 #include "src/assembler-inl.h"
10 #include "src/ast/context-slot-cache.h" 10 #include "src/ast/context-slot-cache.h"
(...skipping 5501 matching lines...) Expand 10 before | Expand all | Expand 10 after
5512 scavenge_collector_ = new Scavenger(this); 5512 scavenge_collector_ = new Scavenger(this);
5513 mark_compact_collector_ = new MarkCompactCollector(this); 5513 mark_compact_collector_ = new MarkCompactCollector(this);
5514 incremental_marking_->set_marking_deque( 5514 incremental_marking_->set_marking_deque(
5515 mark_compact_collector_->marking_deque()); 5515 mark_compact_collector_->marking_deque());
5516 #if V8_CONCURRENT_MARKING 5516 #if V8_CONCURRENT_MARKING
5517 concurrent_marking_ = 5517 concurrent_marking_ =
5518 new ConcurrentMarking(this, mark_compact_collector_->marking_deque()); 5518 new ConcurrentMarking(this, mark_compact_collector_->marking_deque());
5519 #else 5519 #else
5520 concurrent_marking_ = new ConcurrentMarking(this, nullptr); 5520 concurrent_marking_ = new ConcurrentMarking(this, nullptr);
5521 #endif 5521 #endif
5522 if (FLAG_minor_mc) 5522 minor_mark_compact_collector_ = new MinorMarkCompactCollector(this);
5523 minor_mark_compact_collector_ = new MinorMarkCompactCollector(this);
5524 gc_idle_time_handler_ = new GCIdleTimeHandler(); 5523 gc_idle_time_handler_ = new GCIdleTimeHandler();
5525 memory_reducer_ = new MemoryReducer(this); 5524 memory_reducer_ = new MemoryReducer(this);
5526 if (V8_UNLIKELY(FLAG_gc_stats)) { 5525 if (V8_UNLIKELY(FLAG_gc_stats)) {
5527 live_object_stats_ = new ObjectStats(this); 5526 live_object_stats_ = new ObjectStats(this);
5528 dead_object_stats_ = new ObjectStats(this); 5527 dead_object_stats_ = new ObjectStats(this);
5529 } 5528 }
5530 scavenge_job_ = new ScavengeJob(); 5529 scavenge_job_ = new ScavengeJob();
5531 local_embedder_heap_tracer_ = new LocalEmbedderHeapTracer(); 5530 local_embedder_heap_tracer_ = new LocalEmbedderHeapTracer();
5532 5531
5533 LOG(isolate_, IntPtrTEvent("heap-capacity", Capacity())); 5532 LOG(isolate_, IntPtrTEvent("heap-capacity", Capacity()));
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
6391 case LO_SPACE: 6390 case LO_SPACE:
6392 return "LO_SPACE"; 6391 return "LO_SPACE";
6393 default: 6392 default:
6394 UNREACHABLE(); 6393 UNREACHABLE();
6395 } 6394 }
6396 return NULL; 6395 return NULL;
6397 } 6396 }
6398 6397
6399 } // namespace internal 6398 } // namespace internal
6400 } // namespace v8 6399 } // namespace v8
OLDNEW
« no previous file with comments | « src/heap/heap.h ('k') | src/heap/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698