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

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

Issue 1428683002: [heap] Convert overapproximate weak closure phase into finalize incremental marking phase and revis… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/gc-tracer.cc ('k') | src/heap/heap.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 #ifndef V8_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after
1802 inline void UpdateAllocationsHash(uint32_t value); 1802 inline void UpdateAllocationsHash(uint32_t value);
1803 void PrintAlloctionsHash(); 1803 void PrintAlloctionsHash();
1804 1804
1805 void AddToRingBuffer(const char* string); 1805 void AddToRingBuffer(const char* string);
1806 void GetFromRingBuffer(char* buffer); 1806 void GetFromRingBuffer(char* buffer);
1807 1807
1808 // Attempt to over-approximate the weak closure by marking object groups and 1808 // Attempt to over-approximate the weak closure by marking object groups and
1809 // implicit references from global handles, but don't atomically complete 1809 // implicit references from global handles, but don't atomically complete
1810 // marking. If we continue to mark incrementally, we might have marked 1810 // marking. If we continue to mark incrementally, we might have marked
1811 // objects that die later. 1811 // objects that die later.
1812 void OverApproximateWeakClosure(const char* gc_reason); 1812 void FinalizeIncrementalMarking(const char* gc_reason);
1813 1813
1814 // Returns the timer used for a given GC type. 1814 // Returns the timer used for a given GC type.
1815 // - GCScavenger: young generation GC 1815 // - GCScavenger: young generation GC
1816 // - GCCompactor: full GC 1816 // - GCCompactor: full GC
1817 // - GCFinalzeMC: finalization of incremental full GC 1817 // - GCFinalzeMC: finalization of incremental full GC
1818 // - GCFinalizeMCReduceMemory: finalization of incremental full GC with 1818 // - GCFinalizeMCReduceMemory: finalization of incremental full GC with
1819 // memory reduction 1819 // memory reduction
1820 HistogramTimer* GCTypeTimer(GarbageCollector collector); 1820 HistogramTimer* GCTypeTimer(GarbageCollector collector);
1821 1821
1822 // =========================================================================== 1822 // ===========================================================================
(...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
2723 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2723 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2724 2724
2725 private: 2725 private:
2726 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2726 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2727 }; 2727 };
2728 #endif // DEBUG 2728 #endif // DEBUG
2729 } // namespace internal 2729 } // namespace internal
2730 } // namespace v8 2730 } // namespace v8
2731 2731
2732 #endif // V8_HEAP_HEAP_H_ 2732 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/heap/gc-tracer.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698