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

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

Issue 783453003: Explicitly track whether incremental marking was activated (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 1918 matching lines...) Expand 10 before | Expand all | Expand 10 after
1929 1929
1930 Address DoScavenge(ObjectVisitor* scavenge_visitor, Address new_space_front); 1930 Address DoScavenge(ObjectVisitor* scavenge_visitor, Address new_space_front);
1931 static void ScavengeStoreBufferCallback(Heap* heap, MemoryChunk* page, 1931 static void ScavengeStoreBufferCallback(Heap* heap, MemoryChunk* page,
1932 StoreBufferEvent event); 1932 StoreBufferEvent event);
1933 1933
1934 // Performs a major collection in the whole heap. 1934 // Performs a major collection in the whole heap.
1935 void MarkCompact(); 1935 void MarkCompact();
1936 1936
1937 // Code to be run before and after mark-compact. 1937 // Code to be run before and after mark-compact.
1938 void MarkCompactPrologue(); 1938 void MarkCompactPrologue();
1939 void MarkCompactEpilogue();
1939 1940
1940 void ProcessNativeContexts(WeakObjectRetainer* retainer); 1941 void ProcessNativeContexts(WeakObjectRetainer* retainer);
1941 void ProcessArrayBuffers(WeakObjectRetainer* retainer); 1942 void ProcessArrayBuffers(WeakObjectRetainer* retainer);
1942 void ProcessAllocationSites(WeakObjectRetainer* retainer); 1943 void ProcessAllocationSites(WeakObjectRetainer* retainer);
1943 1944
1944 // Deopts all code that contains allocation instruction which are tenured or 1945 // Deopts all code that contains allocation instruction which are tenured or
1945 // not tenured. Moreover it clears the pretenuring allocation site statistics. 1946 // not tenured. Moreover it clears the pretenuring allocation site statistics.
1946 void ResetAllAllocationSitesDependentCode(PretenureFlag flag); 1947 void ResetAllAllocationSitesDependentCode(PretenureFlag flag);
1947 1948
1948 // Evaluates local pretenuring for the old space and calls 1949 // Evaluates local pretenuring for the old space and calls
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
2584 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2585 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2585 2586
2586 private: 2587 private:
2587 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2588 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2588 }; 2589 };
2589 #endif // DEBUG 2590 #endif // DEBUG
2590 } 2591 }
2591 } // namespace v8::internal 2592 } // namespace v8::internal
2592 2593
2593 #endif // V8_HEAP_HEAP_H_ 2594 #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